You are here

function upgrade_status_help in Upgrade Status 8

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

Implements hook_help().

File

./upgrade_status.module, line 8

Code

function upgrade_status_help($route_name, RouteMatchInterface $route_match) {
  if ($route_name == 'upgrade_status.report') {
    return '<p>' . t('Analyze your site\'s Drupal 9 readiness. Run the report to find out if there are detectable compatibility errors with the modules and themes installed on your site. <a href=":prepare">Read more about preparing your site for Drupal 9</a>.', [
      ':prepare' => 'https://www.drupal.org/docs/9/how-to-prepare-your-drupal-7-or-8-site-for-drupal-9/prepare-a-drupal-8-site-for-drupal-9',
    ]) . '</p>';
  }
}