You are here

function watchdog_triggers_trigger_info in Logging and alerts 7.2

Same name and namespace in other branches
  1. 7 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_trigger_info()

Implements hook_trigger_info().

Register triggered hooks used by this module.

File

watchdog_triggers/watchdog_triggers.module, line 13
Provides a Trigger and Action integration for watchdog events.

Code

function watchdog_triggers_trigger_info() {
  return array(
    'watchdog_triggers' => array(
      'watchdog_logged' => array(
        'label' => t('Watchdog logs an event'),
      ),
    ),
  );
}