Skip to content

Entity: get list of bundles

Plugin ID: eca_get_bundle_list

Available since: 2.1.0

Gets the list of bundles for a given entity type.

Fields

Name of token — config key: token_name

Provide the name of a token that holds the bundle list. Please provide the token name only, without brackets.

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

Type — config key: type

The entity type for which to receive the list of bundles.
When using the "Defined by token" option, make sure there is a token with this name: eca_get_bundle_list_type

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

Allowed values depend on the configuration of the target site.

Value format: An entity type ID available on the target site, for example node or taxonomy_term.

Mode — config key: mode

This either returns a list of bundle IDs or of their labels.

Type: select · Required: no · Default: ids

Allowed values: ids, labels