You are here

function upgrade_status_help in Upgrade Status 7

Same name and namespace in other branches
  1. 8.3 upgrade_status.module \upgrade_status_help()
  2. 8 upgrade_status.module \upgrade_status_help()
  3. 8.2 upgrade_status.module \upgrade_status_help()
  4. 5 upgrade_status.module \upgrade_status_help()
  5. 6 upgrade_status.module \upgrade_status_help()

Implementation of hook_help().

File

./upgrade_status.module, line 37
Checks to see if your installed modules are available for the next major release of Drupal.

Code

function upgrade_status_help($path, $arg) {
  switch ($path) {
    case 'admin/help#module':
      $file = drupal_get_path('module', 'upgrade_status') . '/README.txt';
      if (file_exists($file)) {
        return _filter_autop(file_get_contents($file));
      }
      break;
  }
}