Skip to content

Prepare content entity form

Available since: 1.0.0

Provided tokens

Token Description
[form] The current form.
Alias: current_form
[form:id] The form ID.
[form:base_id] The form base ID.
[form:operation] The form operation.
[form:mode] The form mode.
[form:triggered] The form field name that triggered the form event.
[form:values:FIELD_NAME] The field value for each of the named fields.
[form:num_errors] The number of form errors.
[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.
[entity] The entity of the event.
[ENTITY_TYPE] The entity of the event under the name of its entity type.

Reacts when forms of specific content entities are prepared.


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.