function casetracker_actions_action_info in Case Tracker 6
Same name and namespace in other branches
- 7 casetracker_actions/casetracker_actions.module \casetracker_actions_action_info()
Implementation of 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(
'description' => t('Set case priority'),
'type' => 'node',
'configurable' => TRUE,
'hooks' => array(
'any' => TRUE,
),
),
'casetracker_actions_set_status_action' => array(
'description' => t('Set case status'),
'type' => 'node',
'configurable' => TRUE,
'hooks' => array(
'any' => TRUE,
),
),
'casetracker_actions_set_type_action' => array(
'description' => t('Set case type'),
'type' => 'node',
'configurable' => TRUE,
'hooks' => array(
'any' => TRUE,
),
),
'casetracker_actions_set_assign_to_action' => array(
'description' => t('Set case assigned user'),
'type' => 'node',
'configurable' => TRUE,
'hooks' => array(
'any' => TRUE,
),
),
'casetracker_actions_set_project_action' => array(
'description' => t('Set case project'),
'type' => 'node',
'configurable' => TRUE,
'hooks' => array(
'any' => TRUE,
),
),
'casetracker_actions_take_case_action' => array(
'description' => t('Take over case'),
'type' => 'node',
'configurable' => FALSE,
'hooks' => array(
'any' => TRUE,
),
),
);
}