function trigger_cron
Same name and namespace in other branches
- 6.x drupal-6.x/modules/trigger/trigger.module \trigger_cron()
Implements hook_cron().
Archivo
- drupal-7.x/
modules/ trigger/ trigger.module, line 447 - Enables functions to be stored and executed at a later time.
Código
function trigger_cron() {
$aids = trigger_get_assigned_actions('cron');
$context = array(
'group' => 'cron',
'hook' => 'cron',
);
// Cron does not act on any specific object.
$object = NULL;
actions_do(array_keys($aids), $object, $context);
}