function token_actions_action_info in Token 6
Implements hook_action_info().
File
- ./
token_actions.module, line 17 - The Token Actions module.
Code
function token_actions_action_info() {
return array(
'token_actions_message_action' => array(
'type' => 'system',
'description' => t('Display a tokenized message to the user'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'view',
'insert',
'update',
'delete',
),
'comment' => array(
'view',
'insert',
'update',
'delete',
),
'user' => array(
'view',
'insert',
'update',
'delete',
'login',
),
'taxonomy' => array(
'insert',
'update',
'delete',
),
),
),
'token_actions_send_email_action' => array(
'description' => t('Send tokenized e-mail'),
'type' => 'system',
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'view',
'insert',
'update',
'delete',
),
'comment' => array(
'view',
'insert',
'update',
'delete',
),
'user' => array(
'view',
'insert',
'update',
'delete',
'login',
),
'taxonomy' => array(
'insert',
'update',
'delete',
),
),
),
'token_actions_goto_action' => array(
'description' => t('Redirect to a tokenized URL'),
'type' => 'system',
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'view',
'insert',
'update',
'delete',
),
'comment' => array(
'view',
'insert',
'update',
'delete',
),
'user' => array(
'view',
'insert',
'update',
'delete',
'login',
),
),
),
);
}