Skip to content

Delete config

Plugin ID: config:delete

Available since: 1.0.0

Provided tokens

Token Description
[user] The current user.
Alias: current_user
[htmx] Information about the current HTMX request.
[htmx:is_request] Whether the current request was sent by HTMX ("1" or "0").
[htmx:boosted] Whether the current request was boosted by HTMX ("1" or "0").
[htmx:history_restore] Whether the current request is for HTMX history restoration ("1" or "0").
[htmx:target] The value of the HX-Target request header.
[htmx:trigger] The value of the HX-Trigger request header.
[htmx:trigger_name] The value of the HX-Trigger-Name request header.
[htmx:current_url] The value of the HX-Current-URL request header.
[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 deleted.

Fields

Config name — config key: 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.

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

The configuration name to filter on (e.g., system.site). Supports prefix matching. Leave empty to react to all configuration deletions.

Sync Mode — config key: sync_mode

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

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

Allowed values: '', yes, no

Filter by sync mode: 'Always' fires regardless, 'Yes' only during config sync, 'No' only for runtime changes.