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