Skip to content

Save config

Available since: 1.0.0

Provided tokens

Token Description
[config] The configuration with all current values.
[config_original] The configuration with all original values plus overrides.
[config_name] The name of the configuration.
[event] The event.
[event:machine_name] The machine name of the ECA event.
[session_user] The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account.

A Drupal configuration was saved.

Fields

Config name

Leave empty to apply to all events. To limit this event to just specific events, provide the machine name of the configuration, e.g. "system.site". This can also be limited to a range of configuration, e.g. with "node.type.", this applies to all configurations with a name starting with this pattern.

The configuration name to filter on (e.g., system.site). Supports prefix matching: entering node.type. matches all content type configurations. Leave empty to react to all configuration saves.

Sync Mode

During config sync, the Drupal site is in sync mode.

Filter by sync mode: 'Always' fires regardless, 'Yes' only during config sync (e.g., drush config:import), 'No' only for runtime changes outside of sync.

Write Mode

Filter by write mode: 'Always' fires for both, 'New' only when configuration is created for the first time, 'Update' only when existing configuration is modified.