function state_flow_menu_alter in State Machine 6
Same name and namespace in other branches
- 7.3 modules/state_flow/state_flow.module \state_flow_menu_alter()
Implementation of hook_menu_alter Change the edit link so the most recent revision is always edited
Parameters
array $items:
File
- modules/
state_flow/ state_flow.module, line 31 - A base implementation of the state machine class and its relationship to revisions
Code
function state_flow_menu_alter(&$items) {
$items['node/%node/edit']['page callback'] = 'state_flow_node_page_edit';
}