You are here

function nodejs_watchdog_nodejs_user_channels in Node.js integration 7

Implements hook_nodejs_user_channels().

File

nodejs_watchdog/nodejs_watchdog.module, line 108

Code

function nodejs_watchdog_nodejs_user_channels($account) {
  if (user_access('access site reports', $account)) {
    return array(
      'watchdog_dblog',
    );
  }
  return array();
}