language_negotiation_matrix-1.0.0-beta2/language_negotiation_matrix.module

language_negotiation_matrix.module
<?php

/**
 * @file
 * Contains language_negotiation_matrix.module.
 */

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function language_negotiation_matrix_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.language_negotiation_matrix':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('This module enhances Drupal Language Negotiation for URLs to permit complex language paths to coexist and not confuse the language switcher or the User. Consult the README for further information.') . '</p>';
      return $output;
    default:
  }
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc