diff -u b/core/modules/migrate_drupal_ui/migrate_drupal_ui.module b/core/modules/migrate_drupal_ui/migrate_drupal_ui.module --- b/core/modules/migrate_drupal_ui/migrate_drupal_ui.module +++ b/core/modules/migrate_drupal_ui/migrate_drupal_ui.module @@ -6,6 +6,7 @@ */ use Drupal\Core\Routing\RouteMatchInterface; +use Drupal\Core\Url; /** * Implements hook_help(). @@ -23,14 +24,15 @@ $output .= '
' . t('You need to enable all modules on this site that are enabled on the previous site. For example, if you have used the book module on the previous site then you must enable the book module on this site for that data to be available on this site.') . '
'; $output .= '
' . t('Performing the upgrade') . '
'; $output .= '
' . t('On the Upgrade page, you are guided through performing the upgrade in several steps. You need to enter the database credentials of the Drupal site that you want to upgrade. You can also include its files directory in the upgrade. The next page then provides an overview over which upgrade paths are available or missing, before you proceed to perform the upgrade. Afterwards a message is displayed about the number of upgrade tasks that were successful or failed.', - [':upgrade' => \Drupal::url('migrate_drupal_ui.upgrade')]) . '
'; + [':upgrade' => Url::fromRoute('migrate_drupal_ui.upgrade')->toString()]) . ''; $output .= '
' . t('Reviewing the upgrade log') . '
'; $output .= '
' . t('You can review the upgrade log by clicking the link in the message provided after the upgrade or by filtering the messages for the type migrate_drupal_ui on the Recent log messages page.', - [':messages' => \Drupal::url('dblog.overview')]) . '
'; - $output .= '
' . t('Incremental upgrade') . '
'; + [':messages' => Url::fromRoute('migrate_drupal_ui.log')->toString()]) . ''; + $output .= '
' . t('Incremental upgrades') . '
'; $output .= '
' . t('Incremental upgrades are not yet supported through the user interface.') . '
'; $output .= '
' . t('Rolling back an upgrade') . '
'; $output .= '
' . t('Rolling back an upgrade is not yet supported through the user interface.') . '
'; + $output .= ''; return $output; } }