Skip to content

Alter image select imagesΒΆ

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:element] The form element.
[event:webform:images] The list of images.
[event:webform:image_id] The image entity ID.
[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 images for a webform image select element are being loaded. Use this to dynamically filter, add, or replace images based on user context or external data.