Skip to content

Render: Views

Plugin ID: eca_render_views:views

Available since: 1.1.0

Render the contents of a configured view.

Fields

View — config key: view_id


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

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

Allowed values depend on the configuration of the target site.

Value format: The machine name of a view on the target site.

Display — config key: display_id


This field supports tokens.

Type: textfield · Required: no · Default: default

Value format: The machine name of a display within the selected view, for example default or page_1.

Arguments — config key: arguments


This field supports tokens.

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

Machine name — config key: name

Optionally define a machine name of this render element. It will be made available under that name in the render array of the current event in scope. Nested elements can be set with using "][" brackets, for example details][title.
This field supports tokens.

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

Token name — config key: token_name

Optionally define a token name of this render element. It will be made available under that token name for later usage. Please provide the token name only, without brackets.

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

Element weight — config key: weight

Optionally specify an element weight. The lower the weight, the element appears before other elements having a higher weight.
This field supports tokens.

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

Build mode — config key: mode


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

Type: select · Required: yes · Default: append

Allowed values: set:clear, set:clear:defined, merge, prepend, append, nothing, _eca_token