You are here

function workflow_hook_info in Workflow 8

Same name and namespace in other branches
  1. 5.2 workflow.module \workflow_hook_info()
  2. 7.2 workflow.module \workflow_hook_info()
  3. 7 workflow.module \workflow_hook_info()

Implements hook_hook_info().

Allow adopters to place their hook implementations in either their main module or in a module.workflow.inc file.

File

./workflow.module, line 114
Support workflows made up of arbitrary states.

Code

function workflow_hook_info() {
  $hooks['workflow'] = [
    'group' => 'workflow',
  ];
  return $hooks;
}