function shouts_rules_event_info in Heartbeat 6.4
Same name and namespace in other branches
- 6.3 modules/shouts/shouts.module \shouts_rules_event_info()
Implementation of hook_rules_event_info().
File
- modules/
shouts/ shouts.rules.inc, line 13 - shouts.rules.inc.
Code
function shouts_rules_event_info() {
return array(
'shout_post' => array(
'label' => t('User posts a new shout'),
'module' => 'Shouts',
'arguments' => array(
'user' => array(
'type' => 'user',
'label' => t('User who posts a new shout.'),
),
'shout' => array(
'type' => 'shout',
'label' => t('Shout that has been posted.'),
),
),
'redirect' => TRUE,
),
);
}