function ad_actions_action_info in Advertisement 7
Same name and namespace in other branches
- 6.3 actions/ad_actions.module \ad_actions_action_info()
- 6.2 actions/ad_actions.module \ad_actions_action_info()
Implementation of hook_action_info(). Define new advanced actions and the triggers that can invoke them.
File
- actions/
ad_actions.module, line 89 - Enable ad triggers and actions.
Code
function ad_actions_action_info() {
return array(
'ad_actions_send_email_action_before' => array(
'description' => t('Send e-mail before automated ad trigger'),
'type' => 'system',
'configurable' => TRUE,
'hooks' => array(
'ad_actions' => array(
'autoactivated',
'autoexpired',
),
),
),
'ad_actions_send_email_action_after' => array(
'description' => t('Send e-mail on or after ad trigger'),
'type' => 'system',
'configurable' => TRUE,
'hooks' => array(
'ad_actions' => array(
'click',
'approved',
'pending',
'offline',
'denied',
'active',
'autoactivated',
'expired',
'autoexpired',
'created',
'update',
'delete',
),
),
),
);
}