Skip to content

ECA Views

Provides integration between ECA and the Drupal Views module. This allows ECA models to execute Views queries, export results to files, manipulate query parameters, and react to Views lifecycle events (such as pre/post build, execute, and render phases).

Understanding Views query results in ECA

When using the Views: Execute query or Views: Export query into file actions, the result stored in a token is a list of complete entity objects. It does not reflect the field configuration of the View — field formatters, labels, rewritten values, and display settings have no effect on the token data. You always receive the full entities that matched the query, which you can then access using standard entity property tokens.

Installation

1
2
composer require drupal/eca
drush pm:install eca_views

Instead of using Drush to enable the module, you can also go to "Administration / Extend" (/admin/modules) and enable the module ECA Views from there.