You are here

function systeminfo_help in System Information 5.2

Same name and namespace in other branches
  1. 5 systeminfo.module \systeminfo_help()
  2. 6.3 systeminfo.module \systeminfo_help()
  3. 6 systeminfo.module \systeminfo_help()
  4. 6.2 systeminfo.module \systeminfo_help()
  5. 7.3 systeminfo.module \systeminfo_help()
  6. 7.2 systeminfo.module \systeminfo_help()

Implementation of hook_help().

File

./systeminfo.module, line 13
Displays information about the Drupal installation and system environment.

Code

function systeminfo_help($section) {
  switch ($section) {
    case 'admin/help#systeminfo':
      $output = '<p>' . t('This module displays information about the Drupal installation and system environment.') . '</p>';
      $output .= '<h4>' . t('System requirements') . '</h4>';
      $output .= '<p>' . t('For detailed information about Drupal requirements, see <a href="@requirements">System requirements</a> in the Drupal handbook.', array(
        '@requirements' => 'http://drupal.org/requirements/',
      )) . '</p>';
      return $output;
    case 'admin/logs/systeminfo':
      return '<p>' . t('Information about the Drupal installation and system environment.') . '</p>';
    case 'admin/settings/systeminfo':
      return '<p>' . t('Configure the display of <a href="@admin-logs-systeminfo">System information</a>.', array(
        '@admin-logs-systeminfo' => url('admin/logs/systeminfo'),
      )) . '</p>';
  }
}