You are here

function casetracker_actions_action_info in Case Tracker 7

Same name and namespace in other branches
  1. 6 casetracker_actions/casetracker_actions.module \casetracker_actions_action_info()

Implements hook_action_info(). Used to define new actions: set priority, set status, set type, set project, set assign-to, take case.

File

casetracker_actions/casetracker_actions.module, line 13
casetracker_actions.module

Code

function casetracker_actions_action_info() {
  return array(
    'casetracker_actions_set_priority_action' => array(
      'label' => t('Set case priority'),
      'type' => 'node',
      'configurable' => TRUE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
    'casetracker_actions_set_status_action' => array(
      'label' => t('Set case status'),
      'type' => 'node',
      'configurable' => TRUE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
    'casetracker_actions_set_type_action' => array(
      'label' => t('Set case type'),
      'type' => 'node',
      'configurable' => TRUE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
    'casetracker_actions_set_assign_to_action' => array(
      'label' => t('Set case assigned user'),
      'type' => 'node',
      'configurable' => TRUE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
    'casetracker_actions_set_project_action' => array(
      'label' => t('Set case project'),
      'type' => 'node',
      'configurable' => TRUE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
    'casetracker_actions_take_case_action' => array(
      'label' => t('Take over case'),
      'type' => 'node',
      'configurable' => FALSE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
  );
}