function shouts_rules_event_info in Heartbeat 6.3
Same name and namespace in other branches
- 6.4 modules/shouts/shouts.rules.inc \shouts_rules_event_info()
Implementation of hook_rules_event_info().
File
- modules/
shouts/ shouts.module, line 285 - Gives the possibility to the user to shout a message.
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' => 'comment',
'label' => t('Shout that has been posted.'),
),
),
'redirect' => TRUE,
),
);
}