diff --git a/migrate_upgrade.module b/migrate_upgrade.module old mode 100644 new mode 100755 index 869fe49..49244ac --- a/migrate_upgrade.module +++ b/migrate_upgrade.module @@ -2,19 +2,18 @@ /** * @file - * Alert administrators before start import process. + * Alert administrators before starting the import process. */ -use Symfony\Component\HttpFoundation\Request; +use Drupal\Core\Routing\RouteMatchInterface; /** * Implements hook_help(). */ -function migrate_upgrade_help($route_name, Request $request) { +function migrate_upgrade_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'migrate_upgrade.upgrade': - $output = ''; - $output .= '

' . t('This form is used for importing configuration and content from a previous versions of Drupal site. Make sure you have backups of your destination site before submitting this form. Also, ensure that the source database and files are accessible to the destination site. For more details, see upgrading from previous versions.', array('!migrate' => 'https://www.drupal.org/upgrade')) . '

'; + $output = '

' . t('This form is used for importing configuration and content from a previous version of your Drupal site. Make sure you have backups of your source and destination sites before submitting this form. Also, ensure that the source database and files are accessible to the destination site. For more details, see upgrading from previous versions.', array('!migrate' => 'https://www.drupal.org/upgrade')) . '

'; return $output; } }