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.

Type

The type of the new entity.

Language code

The language code of the new entity.

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.