function workflow_menu in Workflow 7
Same name and namespace in other branches
- 5.2 workflow.module \workflow_menu()
- 5 workflow.module \workflow_menu()
- 6.2 workflow.module \workflow_menu()
- 6 workflow.module \workflow_menu()
Implements hook_menu().
File
- ./
workflow.module, line 36 - Support workflows made up of arbitrary states.
Code
function workflow_menu() {
$items['node/%node/workflow'] = array(
'title' => 'Workflow',
'type' => MENU_LOCAL_TASK,
'file' => 'workflow.pages.inc',
'access callback' => 'workflow_tab_access',
'access arguments' => array(
1,
),
'page callback' => 'workflow_tab_page',
'page arguments' => array(
1,
),
'weight' => 2,
);
return $items;
}