Skip to content

Build render array

Available since: 1.0.0

Fires, when a render array of a component is built.

Provided tokens

Token Description
[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 Layout Builder section component (block) is being converted into a render array. Requires the Layout Builder module.

Useful for modifying the render output of individual layout components, adding wrappers, or injecting additional markup.