You are here

function nodejs_watchdog_module_implements_alter in Node.js integration 7

Implements hook_module_implements_alter().

File

nodejs_watchdog/nodejs_watchdog.module, line 127

Code

function nodejs_watchdog_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'watchdog' && isset($implementations['nodejs_watchdog'])) {

    // Move nodejs_watchdog_watchdog() to the end of the list.
    $group = $implementations['nodejs_watchdog'];
    unset($implementations['nodejs_watchdog']);
    $implementations['nodejs_watchdog'] = $group;
  }
}