You are here

function upgrade_status_help in Upgrade Status 5

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. 6 upgrade_status.module \upgrade_status_help()
  5. 7 upgrade_status.module \upgrade_status_help()

Implementation of hook_help().

File

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

Code

function upgrade_status_help($section) {
  switch ($section) {
    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;
  }
}