You are here

function state_flow_module_implements_alter in State Machine 7.3

Implements hook_module_implements_alter().

Needed for state_flow_menu_alter() to reach Views-generated menu entries.

File

modules/state_flow/state_flow.module, line 113
An implementation of node revision workflow for Drupal based on the State Machine system.

Code

function state_flow_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'menu_alter') {
    $group = $implementations['state_flow'];
    unset($implementations['state_flow']);
    $implementations['state_flow'] = $group;
  }
}