You are here

function workbench_scheduler_action_info in Workbench Scheduler 7

Same name and namespace in other branches
  1. 7.2 workbench_scheduler.module \workbench_scheduler_action_info()

Implements hook_action_info().

File

./workbench_scheduler.module, line 161
Content scheduling for Workbench.

Code

function workbench_scheduler_action_info() {
  module_load_include('inc', 'workbench_scheduler', 'actions/workbench_scheduler.action');
  return array(
    'workbench_scheduler_schedules_action' => array(
      'type' => 'node',
      'label' => t('Set Workbench schedule to a node'),
      'behavior' => array(
        'changes_property',
      ),
      'configurable' => FALSE,
      'vbo_configurable' => TRUE,
      'triggers' => array(
        'any',
      ),
    ),
  );
}