Skip to content

Installation

ECA can be installed in two ways: using the recommended Starterkit recipe or manually installing the modules.

The ECA Starterkit provides a complete setup for ECA. It installs a recommended set of modules, configures the Workflow Modeler, and includes a demo model to get you started immediately.

What gets installed

  • Core ECA components: A comprehensive set of 20 sub-modules covering access control, caching, content entities, forms, logging, users, views, and more.
  • Workflow Modeler: The recommended visual editor with drag-and-drop capabilities.
  • Demo Model: A "User Registration Form" model that demonstrates field customization and validation.

Installation steps

  1. Require the recipe:

    1
    composer require drupal/eca_starterkit
    
  2. Apply the recipe:

    1
    2
    3
    4
    5
    # Using Drush (version 13 or later)
    drush recipe ../recipes/eca_starterkit
    
    # Or without Drush
    cd web && php core/scripts/drupal recipe ../recipes/eca_starterkit
    

After applying the recipe, navigate to Administration > Configuration > Workflow > ECA to see the installed demo model and start building your own.

Manual Installation

If you prefer to install only specific components, you can install the modules manually.

Download the ECA module and Workflow Modeler module:

1
composer require drupal/eca drupal/modeler

Install the ECA and Workflow Modeler module and their dependencies via the GUI at /admin/modules or with Drush:

1
drush -y pm:install eca eca_ui modeler

The list of additional ECA sub-modules you may want to install depends on your specific use-case (e.g., eca_content, eca_user, eca_views).