token_actions_action_info()
contributions/token/token_actions.module, line 6
Implementation of hook_action_info().
<?php
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'),
)
)
);
}
?>