migrate.module 724 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @file
  4. * Provides the Migrate API.
  5. */
  6. use Drupal\Core\Routing\RouteMatchInterface;
  7. /**
  8. * Implements hook_help().
  9. */
  10. function migrate_help($route_name, RouteMatchInterface $route_match) {
  11. switch ($route_name) {
  12. case 'help.page.migrate':
  13. $output = '<h3>' . t('About') . '</h3>';
  14. $output .= '<p>';
  15. $output .= t('The Migrate module provides a framework for migrating data, usually from an external source into your site. It does not provide a user interface. For more information, see the <a href=":migrate">online documentation for the Migrate module</a>.', [':migrate' => 'https://www.drupal.org/documentation/modules/migrate']);
  16. $output .= '</p>';
  17. return $output;
  18. }
  19. }