You are here

function hook_workflow_groups_alter in State Machine 8

Alter workflow groups.

Parameters

array $workflow_groups: Workflow group definitions, keyed by plugin ID.

1 invocation of hook_workflow_groups_alter()
WorkflowGroupManager::__construct in src/WorkflowGroupManager.php
Constructs a new WorkflowGroupManager object.

File

./state_machine.api.php, line 29
Hooks provided by the State Machine module.

Code

function hook_workflow_groups_alter(array &$workflow_groups) {
  $workflow_groups['default']['label'] = 'Altered label';
}