Skip to content

Entity: create new

Available since: 1.0.0

Create a new content entity without saving it.

Fields

Name of token

Provide the name of a token that holds the new entity. Please provide the token name only, without brackets.

Type

The type of the new entity.
Note: to create a new user entity, enable the eca_user module and use the "User: create new" action from there.
When using the "Defined by token" option, make sure there is a token with this name: eca_new_entity_type

Language

The language code of the new entity.
When using the "Defined by token" option, make sure there is a token with this name: eca_new_entity_langcode

Entity label

The label of the new entity.

Published

Whether the entity should be published or not.

Owner UID

The owner UID of the new entity.