- Issue created by @thejimbirch
Automatically closed - issue fixed for 2 weeks with no activity.
https://www.drupal.org/node/3470507 β
But, as of Drupal 11.1.2 (but not Drupal 10), you can use the input tokens to dynamically target config entities, with certain limitations:
config:
actions:
node.type.${content_type}:
setDescription: 'Changing the description of a user-chosen node type!'
# WON'T WORK: You can only use the tokens in the identifying parts of the config entity ID (for example, a node type's actual machine name).
${module_name}.type.foo:
doSomething: here
# WON'T WORK: Tokens in config entity IDs only work for config entities, not simple config.
system.${config_name}:
simpleConfigUpdate:
someKey: some value
Active
1.0
Documentation
Automatically closed - issue fixed for 2 weeks with no activity.