You are here

function systeminfo_menu in System Information 5

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

Implementation of hook_menu().

File

./systeminfo.module, line 49
Displays information of the drupal install and system environment.

Code

function systeminfo_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/logs/systeminfo',
      'title' => t('System info'),
      'description' => t('Displays information of the drupal install and system environment.'),
      'callback' => 'systeminfo_display_information',
      'access' => user_access('access system info'),
    );
  }
  return $items;
}