Workflow submodule: plugins need to specify their dependend workflow

Issue information

From user: jurgenhaas

Related to !284 (merged)

Contribution record

Fork management

Problem/Motivation

When an ECA model contains the action eca_workflow_transition, this depends upon a specific workflow. The model cannot be loaded if that workflow isn't there. This is particularly problematic, if the workflow and the ECA model are contained as default config of the same custom module because the workflow needs to be imported first. That only works, if the workflow is a dependency of the ECA model.

Proposed resolution

Declare the workflow dependency in the ECA model.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information