Skip to content

Presave content entity

Available since: 1.0.0

Before a new or existing entity gets saved (persistently created or changed).

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.
[entity] The entity of the event.
[ENTITY_TYPE] The entity of the event under the name of its entity type.

Reacts before specific content entities are saved.

Fields

Type (and bundle)

This field provides a list with all created content entities and its bundles. You als can also select -any-, if you want to react to all types or bundles.