Skip to content

After build 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: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.


Restrict by form ID

The form ID can be mostly found in the HTML <form> element as "id" attribute.

Restrict by entity type ID

Example: node, taxonomy_term, user

Restrict by entity bundle

Example: article, tags

Restrict by operation

Example: default, save, delete