function upgrade_rector_help in Upgrade Rector 8
Implements hook_help().
File
- ./
upgrade_rector.module, line 12
Code
function upgrade_rector_help($route_name, RouteMatchInterface $route_match) {
if ($route_name == 'upgrade_rector.run') {
return '<p>' . t('Run <a href=":rector">Drupal rector tools</a> on your projects to jumpstart Drupal 9 readiness with suggested patches. Complimentary to <a href=":upgrade-status">Upgrade Status</a> and does not replace running test suites on and manually testing with Drupal 9. It does give a head start with some of the deprecation removals automated.', [
':rector' => 'https://drupal.org/project/rector',
':upgrade-status' => 'https://www.drupal.org/project/upgrade_status',
]) . '</p>';
}
}