function hook_state_flow_schedule_schedulable_events_alter in State Machine 7.3
Defines the events that are schedulable and the event that is triggered.
Return value
array Associative array with the schedulable event as key and the event that is scheduled / triggered as value.
1 invocation of hook_state_flow_schedule_schedulable_events_alter()
- state_flow_schedule_schedulable_events in modules/
state_flow_schedule/ state_flow_schedule.module - Returns the list of schedulable events.
File
- modules/
state_flow_schedule/ state_flow_schedule.api.php, line 14 - The API documentation for state_flow_schedule.
Code
function hook_state_flow_schedule_schedulable_events_alter(&$schedulable_events) {
$schedulable_events['schedule_unpublish'] = 'unpublish';
}