Build inline entity form¶
Available since: 1.0.0
Provided tokens
Token | Description |
---|---|
[entity] |
The form entity. |
[ENTITY_TYPE] |
The form entity with the token name being the ID of the entity type. |
[parent] |
The parent entity, if one exists. |
[event] |
The event. |
[event:delta] |
The delta of the entity reference in the parent field. |
[event:entity] |
The form entity. |
[event:entity-bundle] |
The bundle of the form entity. |
[event:entity-id] |
The form entity ID, only available if the entity is not new. |
[event:entity-type] |
The form entity type. |
[event:field-name] |
The name of the field. |
[event:parent] |
The parent entity, if one exists. |
[event:parent-bundle] |
The bundle of the parent entity, if one exists. |
[event:parent-id] |
The ID of the parent entity, if one exists and it is not new. |
[event:parent-type] |
The type of the parent entity, if one exists |
[event:widget] |
The form widget 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. |
[entity] |
The entity of the event. |
[ENTITY_TYPE] |
The entity of the event under the name of its entity type. |
Fields¶
Parent: 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: media, paragraph, storage
Restrict by entity bundle
Parent: Restrict by operation
-
Example: default, save, delete
Parent: Restrict by entity type ID
-
Example: node, taxonomy_term, user
Parent: Restrict by entity bundle
-
Example: article, tags
Parent: Restrict by field name
-
Example: field_paragraphs