You are here

function mongodb_watchdog_page_build in MongoDB 8

Implements hook_page_build().

File

mongodb_watchdog/mongodb_watchdog.module, line 11
Fires watchdog messages to mongodb.

Code

function mongodb_watchdog_page_build(&$page) {
  if (arg(0) == 'admin' && arg(1) == 'reports') {
    $page['#attached']['css'][] = drupal_get_path('module', 'mongodb_watchdog') . '/css/mongodb_watchdog.module.css';
  }
}