You are here

function state_flow_guard_schedule in State Machine 7.2

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

Guard condition callback

Parameters

string $event:

Return value

bool

1 string reference to 'state_flow_guard_schedule'
StateFlow::init in modules/state_flow/plugins/state_flow.inc
Called from StateMachine::__construct to initialize the states and events. Define two states. First revision:

File

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

Code

function state_flow_guard_schedule($event) {
  if (module_exists('state_flow_schedule')) {
    return state_flow_schedule_guard_permission($event, 'schedule content workflow');
  }
}