Skip to content

Entity: exists

Available since: 1.0.0

Performs a lookup whether an entity exists and is accessible.

Fields

Load entity from

Loads the entity from the given list and/or properties below.
When using the "Defined by token" option, make sure there is a token with this name: eca_entity_exists_from

Entity type

The type of the entity to be loaded.
When using the "Defined by token" option, make sure there is a token with this name: eca_entity_exists_entity_type

Entity ID

The ID of the entity to be loaded.

Revision ID

The revision ID of the entity to be loaded.

Property values

A key-value list of raw field values of the entity to load. This will only be used when loading by properties is selected above. Supports YAML format. Example:
field_mynumber: 1
. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: title: "[node:title]"
This field supports tokens.

Language

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

Load latest revision

Whether loading the latest revision or not.

Load unchanged values

Whether loading the unchanged values of fields or not.

Negate the condition

Negates the condition. Makes TRUE to FALSE and vice versa.

Entity

Provide the token name of the entity that this condition should operate with. Please provide the token name only, without brackets.

See also: Tokens being forwarded