Skip to content

Entity type and bundle

Plugin ID: eca_entity_type_bundle

Available since: 1.0.0

Evaluates against the entity type and bundle.

Fields

Entity type (and bundle) — config key: type


When using the "Defined by token" option, make sure there is a token with this name: eca_entity_type_bundle_type

Type: select · Required: no · Default: empty string

Allowed values depend on the configuration of the target site.

Value format: <entity_type_id> <bundle>, space separated. Use _all as a wildcard in either position.

This field provides a list with all created content entities and its bundles. You can also select -any-, if you want to react to all types or bundles. In configuration, the value is a single string holding the entity type ID and the bundle separated by one space, for example node article, where the wildcard _all stands for -any- in either position. See Authoring models as configuration.

Negate the condition — config key: negate

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

Type: checkbox · Required: no · Default: false

Entity — config key: entity

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

Type: textfield · Required: no · Default: empty string