config_environment.module 775 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

/**
 * @file
 * Allows site administrators to modify environment configuration.
 */

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function config_environment_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.config_environment':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Configuration Environment module provides a mechanism for handling configuration changes between different environments. For more information, see the <a href=":config_environment">online documentation for the Configuration Environment module</a>.', [':config_environment' => 'https://www.drupal.org/node/3047873']) . '</p>';
      return $output;
  }
}