Commit 74d408eb authored by effulgentsia's avatar effulgentsia

Issue #2701541 by xjm, yoroy, catch, mikeryan, Gábor Hojtsy: Rename Drupal...

Issue #2701541 by xjm, yoroy, catch, mikeryan, Gábor Hojtsy: Rename Drupal Upgrade UI to Migrate Drupal UI
parent 0cbd30d5
...@@ -7,7 +7,7 @@ To upgrade from a previous major version (for example, Drupal 6 or 7), the ...@@ -7,7 +7,7 @@ To upgrade from a previous major version (for example, Drupal 6 or 7), the
process involves importing site configuration and content from your old site process involves importing site configuration and content from your old site
into a new Drupal 8 site. The tools and process are currently experimental, into a new Drupal 8 site. The tools and process are currently experimental,
rather than being fully supported, so be sure to test in a development rather than being fully supported, so be sure to test in a development
environment. You will need to use the core Drupal Upgrade UI module which environment. You will need to use the core Migrate Drupal UI module which
provides a user interface for the Migrate and Migrate Drupal modules included provides a user interface for the Migrate and Migrate Drupal modules included
in core. See https://www.drupal.org/upgrade/migrate for details, and in core. See https://www.drupal.org/upgrade/migrate for details, and
https://www.drupal.org/node/2167633 for known issues. https://www.drupal.org/node/2167633 for known issues.
......
name: 'Drupal Upgrade UI' name: 'Migrate Drupal UI'
type: module type: module
description: 'Provides a user interface for migrating from older Drupal versions.' description: 'Provides a user interface for migrating from older Drupal versions.'
package: 'Core (Experimental)' package: 'Core (Experimental)'
......
...@@ -12,5 +12,5 @@ ...@@ -12,5 +12,5 @@
*/ */
function migrate_drupal_ui_install() { function migrate_drupal_ui_install() {
$url = Url::fromUri('base:upgrade')->toString(); $url = Url::fromUri('base:upgrade')->toString();
drupal_set_message(t('The Drupal Upgrade UI module has been enabled. Proceed to the <a href=":url">upgrade form</a>.', [':url' => $url])); drupal_set_message(t('The Migrate Drupal UI module has been enabled. Proceed to the <a href=":url">upgrade form</a>.', [':url' => $url]));
} }
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
function migrate_drupal_ui_help($route_name, RouteMatchInterface $route_match) { function migrate_drupal_ui_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) { switch ($route_name) {
case 'help.page.migrate_drupal_ui': case 'help.page.migrate_drupal_ui':
$output = '<p>' . t('The Drupal Upgrade UI module provides a one-click upgrade from an earlier version of Drupal. For details, see the <a href=":migrate">online documentation for the Drupal Upgrade UI module</a> in the handbook on upgrading from previous versions.', [':migrate' => 'https://www.drupal.org/upgrade/migrate']) . '</p>'; $output = '<p>' . t('The Migrate Drupal UI module provides a one-click upgrade from an earlier version of Drupal. For details, see the <a href=":migrate">online documentation for the Migrate Drupal UI module</a> in the handbook on upgrading from previous versions.', [':migrate' => 'https://www.drupal.org/upgrade/migrate']) . '</p>';
return $output; return $output;
} }
} }
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/** /**
* Checks access for migrate_drupal_ui routes. * Checks access for migrate_drupal_ui routes.
* *
* The Drupal Upgrade UI can only be used by user 1. This is because any other * The Migrate Drupal UI can only be used by user 1. This is because any other
* user might have different permissions on the source and target site. * user might have different permissions on the source and target site.
* *
* This class is designed to be used with '_custom_access' route requirement. * This class is designed to be used with '_custom_access' route requirement.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment