function state_flow_revision_node_load in State Machine 7.3
Menu argument loader.
File
- modules/
state_flow/ state_flow.module, line 73 - An implementation of node revision workflow for Drupal based on the State Machine system.
Code
function state_flow_revision_node_load($vid) {
$nid = arg(1);
if (empty($vid) || empty($nid)) {
return FALSE;
}
return node_load($nid, $vid, TRUE);
}