migrate_drupal_multilingual.module in Drupal 8
Same filename and directory in other branches
Provides a requirement for multilingual content and configuration migrations.
File
core/modules/migrate_drupal_multilingual/migrate_drupal_multilingual.moduleView source
<?php
/**
* @file
* Provides a requirement for multilingual content and configuration migrations.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function migrate_drupal_multilingual_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.migrate_drupal_multilingual':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Migrate Drupal Multilingual module is a requirement for migrating translations. It does not provide a user interface. For more information, see the <a href=":migrate_drupal_multilingual">online documentation for the Migrate Drupal Multilingual module</a>.', [
':migrate_drupal_multilingual' => 'https://www.drupal.org/node/2959712',
]) . '</p>';
return $output;
}
}
Functions
Name | Description |
---|---|
migrate_drupal_multilingual_help | Implements hook_help(). |