function jquery_countdown_rules_event_info in jQuery Countdown 7.2
Same name and namespace in other branches
- 7 jquery_countdown.rules.inc \jquery_countdown_rules_event_info()
Implementation of hook_rules_event_info().
File
- ./
jquery_countdown.rules.inc, line 12 - jquery_countdown.rules.inc Rules integration for the jQuery Countdown module.
Code
function jquery_countdown_rules_event_info() {
$items = array();
$defaults = array(
'group' => t('Miscellaneous'),
'module' => 'jquery_countdown',
'help' => t('An event when jQuery Countdown is zero!'),
);
$items['countdown'] = $defaults + array(
'label' => t('When countdown = 0'),
'variables' => array(
'counter' => array(
'type' => 'integer',
'label' => t('counter value'),
),
),
);
return $items;
}