function state_flow_admin_paths in State Machine 7.3
Same name and namespace in other branches
- 7 modules/state_flow/state_flow.module \state_flow_admin_paths()
- 7.2 modules/state_flow/state_flow.module \state_flow_admin_paths()
Implements hook_admin_paths().
File
- modules/
state_flow/ state_flow.module, line 195 - An implementation of node revision workflow for Drupal based on the State Machine system.
Code
function state_flow_admin_paths() {
if (variable_get('node_admin_theme')) {
$paths = array(
'node/*/workflow' => TRUE,
'node/*/revisions/*/edit' => TRUE,
'node/*/revisions/*/workflow' => TRUE,
'node/*/revisions/*/workflow/*' => TRUE,
'node/*/state-flow-history' => TRUE,
'node/*/revisions-state-flow-states' => TRUE,
);
return $paths;
}
}