Requesting parameter¶
Plugin ID: parameters:request
Provided tokens
| Token | Description |
|---|---|
[user] |
The current user. Alias: current_user |
[event] |
The event. |
[event:parameter_name] |
The parameter name. |
[event:entity] |
The entity. |
[event:ENTITY_TYPE] |
The entity type. |
[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. |
Fires when a parameter value is being requested by the Parameters module. Use this to dynamically provide parameter values through ECA instead of (or in addition to) static configuration.
The [event:parameter-name] token contains the machine name of the requested parameter. Context entities are available via [entity] or by their entity type ID.
Fields¶
Parameter name— config key:parameter_name-
The machine name of the requested parameter. Examples: my_eca_parameter, my_global_param, my_article_param.
Type:
textfield· Required: yes · Default: empty stringThe machine name of the requested parameter to listen for. Examples:
my_eca_parameter,my_global_param,my_article_param.