You are here

migrate_upgrade.module in Migrate Upgrade 8

Alert administrators before starting the import process.

File

migrate_upgrade.module
View source
<?php

/**
 * @file
 * Alert administrators before starting the import process.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function migrate_upgrade_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.migrate_upgrade':
      $output = '<p>' . t('The Drupal Upgrade 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 module</a> in the handbook on upgrading from previous versions.', [
        ':migrate' => 'https://www.drupal.org/upgrade/migrate',
      ]) . '</p>';
      return $output;
  }
}

Functions

Namesort descending Description
migrate_upgrade_help Implements hook_help().