function workflow_actions_menu_alter in Workflow 6
Same name and namespace in other branches
- 6.2 workflow_actions/workflow_actions.module \workflow_actions_menu_alter()
Implementation of hook_menu_alter().
Work around loss of menu local task inheritance in Drupal 6.2.
File
- workflow_actions/
workflow_actions.module, line 17 - Provide actions and triggers for workflows. Why it's own module? Some sites prefer rules, some prefer actions, all prefer a lower code footprint and better performance. Additional creadit to gcassie ( http://drupal.org/user/80260 ) for the…
Code
function workflow_actions_menu_alter(&$callbacks) {
if (module_exists('trigger') & isset($callbacks['admin/build/trigger/workflow'])) {
$callbacks['admin/build/trigger/workflow']['access callback'] = 'trigger_access_check';
}
}