drupal/core/modules/config_environment/config_environment.module

31 lines
1.5 KiB
Plaintext

<?php
/**
* @file
* Allows site administrators to modify environment configuration.
*/
// Set class aliases for the classes that will go into core when we are in beta.
// See the experimental modules policy https://www.drupal.org/core/experimental
// @todo: remove class aliases in #2991683
@class_alias('Drupal\config_environment\Core\Config\StorageTransformEvent', 'Drupal\Core\Config\StorageTransformEvent');
@class_alias('Drupal\config_environment\Core\Config\ManagedStorage', 'Drupal\Core\Config\ManagedStorage');
@class_alias('Drupal\config_environment\Core\Config\StorageManagerInterface', 'Drupal\Core\Config\StorageManagerInterface');
@class_alias('Drupal\config_environment\Core\Config\ExportStorageManager', 'Drupal\Core\Config\ExportStorageManager');
@class_alias('Drupal\config_environment\Core\Config\ImportStorageTransformer', 'Drupal\Core\Config\ImportStorageTransformer');
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;
}
}