Same name and namespace in other branches
  1. 10 core/modules/dblog/dblog.module \dblog_help()
  2. 7.x modules/dblog/dblog.module \dblog_help()
  3. 8.9.x core/modules/dblog/dblog.module \dblog_help()
  4. 9 core/modules/dblog/dblog.module \dblog_help()

Implementation of hook_help().

File

modules/dblog/dblog.module, line 17
System monitoring and logging for administrators.

Code

function dblog_help($path, $arg) {
  switch ($path) {
    case 'admin/help#dblog':
      $output = '<p>' . t('The dblog module monitors your system, capturing system events in a log to be reviewed by an authorized individual at a later time. This is useful for site administrators who want a quick overview of activities on their site. The logs also record the sequence of events, so it can be useful for debugging site errors.') . '</p>';
      $output .= '<p>' . t('The dblog log is simply a list of recorded events containing usage data, performance data, errors, warnings and operational information. Administrators should check the dblog report on a regular basis to ensure their site is working properly.') . '</p>';
      $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@dblog">Dblog module</a>.', array(
        '@dblog' => 'http://drupal.org/handbook/modules/dblog/',
      )) . '</p>';
      return $output;
    case 'admin/reports/dblog':
      return '<p>' . t('The dblog module monitors your website, capturing system events in a log to be reviewed by an authorized individual at a later time. The dblog log is simply a list of recorded events containing usage data, performance data, errors, warnings and operational information. It is vital to check the dblog report on a regular basis as it is often the only way to tell what is going on.') . '</p>';
  }
}