Workflow Type Plugins

Same name in other branches
  1. 9 core/modules/workflows/workflows.api.php \workflow_type_plugins
  2. 8.9.x core/modules/workflows/workflows.api.php \workflow_type_plugins
  3. 11.x core/modules/workflows/workflows.api.php \workflow_type_plugins

Any module harnessing the Workflows module must define a Workflow Type Plugin. This allows the module to tailor the workflow to its specific need. For example, the Content Moderation module uses its Workflow Type Plugin to link workflows to entities. On their own, workflows are a stand-alone concept. It takes a module such as Content Moderation to give the workflow context.

File

core/modules/workflows/workflows.api.php, line 8


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.