Extending ECA¶
ECA is designed to be extensible. Its plugin-based architecture means that modules can provide new events, conditions, and actions without modifying ECA itself.
Ways to extend ECA¶
There are two primary ways to extend ECA's capabilities:
Install additional modules¶
Many Drupal contrib modules provide ECA plugins out of the box. Installing a module that integrates with ECA immediately makes its events, conditions, and actions available in your models. See Modules extending ECA for a list of known modules.
ECA itself ships with several sub-modules that add support for specific Drupal subsystems (content, forms, users, views, workflows, and more). The ECA Starterkit recipe installs the most commonly used sub-modules automatically.
Develop custom plugins¶
If no existing module covers your use case, you can develop custom ECA plugins for your site or contribute them back to the community. ECA provides a scaffolding tool via Drush to help you get started quickly. See Developing plugins for details.