Alter element default propertiesΒΆ
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[event] |
The event. |
[event:webform] |
The webform. |
[event:webform:access_rules] |
The access rules. |
[event:webform:definition] |
The property definition. |
[event:webform:properties] |
The properties. |
[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 assembling a webform element's default properties. Add custom properties here to make them configurable per element.
Works with element configuration form alter
Add a property here with an empty default value, then add a form field for it using the element configuration form alter event.