Mercurial > hg > isophonics-drupal-site
comparison core/modules/migrate/migrate.module @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * @file | |
5 * Provides the Migrate API. | |
6 */ | |
7 | |
8 use Drupal\Core\Routing\RouteMatchInterface; | |
9 | |
10 /** | |
11 * Implements hook_help(). | |
12 */ | |
13 function migrate_help($route_name, RouteMatchInterface $route_match) { | |
14 switch ($route_name) { | |
15 case 'help.page.migrate': | |
16 $output = '<h3>' . t('About') . '</h3>'; | |
17 $output .= '<p>'; | |
18 $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']); | |
19 $output .= '</p>'; | |
20 return $output; | |
21 } | |
22 } |