"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/migrate_drupal_multilingual/migrate_drupal_multilingual.module" (26 Nov 2020, 824 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?php
    2 
    3 /**
    4  * @file
    5  * Provides a requirement for multilingual content and configuration migrations.
    6  */
    7 
    8 use Drupal\Core\Routing\RouteMatchInterface;
    9 
   10 /**
   11  * Implements hook_help().
   12  */
   13 function migrate_drupal_multilingual_help($route_name, RouteMatchInterface $route_match) {
   14   switch ($route_name) {
   15     case 'help.page.migrate_drupal_multilingual':
   16       $output = '';
   17       $output .= '<h3>' . t('About') . '</h3>';
   18       $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>';
   19       return $output;
   20   }
   21 }