You are here

function state_flow_events_revisions_access in State Machine 7

Same name and namespace in other branches
  1. 7.3 modules/state_flow/state_flow.module \state_flow_events_revisions_access()
  2. 7.2 modules/state_flow/state_flow.module \state_flow_events_revisions_access()

Menu access callback for the node revision workflow transition page.

1 string reference to 'state_flow_events_revisions_access'
state_flow_menu in modules/state_flow/state_flow.module
Implements hook_menu().

File

modules/state_flow/state_flow.module, line 250
An implementation of node revision workflow for Drupal based on the State Machine system.

Code

function state_flow_events_revisions_access($node, $event_name = NULL) {
  return !empty($event_name) ? state_flow_access($node, $event_name) : state_flow_menu_node_access($node);
}