Skip to content

Config Action

Plugin ID: eca_config_action

Available since: 3.0.0

Execute a Drupal Core ConfigAction.

Fields

Config action — config key: action_id

The config action to be applied.
When using the "Defined by token" option, make sure there is a token with this name: eca_config_action_action_id

Type: select · Required: yes · Default: empty string

Allowed values depend on the configuration of the target site.

Value format: A config action plugin ID available on the target site, for example entity_method:user.role:grantPermission.

Config name — config key: config_name

The config name, for example system.site.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Data — config key: data

The data for the config action, provided in YAML format.
This field supports tokens.

Type: textarea · Required: no · Default: empty string