You are here

function watchdog_triggers_hook_info in Logging and alerts 6

Same name and namespace in other branches
  1. 6.2 watchdog_triggers/watchdog_triggers.module \watchdog_triggers_hook_info()

Implementation of hook_hook_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_hook_info() {
  return array(
    'watchdog_triggers' => array(
      'watchdog_triggers' => array(
        'watchdog_logged' => array(
          'runs when' => t('Watchdog logs an event'),
        ),
      ),
    ),
  );
}