From 983fa97703d903e1abff4feb4797acb8e78eb2ec Mon Sep 17 00:00:00 2001 From: "Robert L. Huffstedtler" Date: Wed, 3 Jun 2015 21:13:39 -0400 Subject: [PATCH] Issue #1831798 by rhuffstedtler. Fixes per issue comments and some rewrites to make more consistent with other help pages. --- core/modules/config/config.module | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/core/modules/config/config.module b/core/modules/config/config.module index 05f4b6d..011cbaf 100644 --- a/core/modules/config/config.module +++ b/core/modules/config/config.module @@ -15,14 +15,18 @@ function config_help($route_name, RouteMatchInterface $route_match) { case 'help.page.config': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Configuration manager module provides a user interface for importing and exporting configuration changes; i.e., for staging configuration data between multiple instances of this web site. For more information, see the online handbook entry for Configuration manager module', array( - '!url' => 'https://www.drupal.org/documentation/administer/config', - )) . '

'; - return $output; - - case 'config.sync': - $output = ''; - $output .= '

' . t('Import configuration that is placed in your staging directory. All changes, deletions, renames, and additions are listed below.') . '

'; + $output .= '

' . t('The Configuration Manager module provides a user interface for importing and exporting configuration changes between installations of your website in different environments, such as development, staging, and production.') . '

'; + $output .= '

' . t('Configuration Manager allows you to deploy configuration from one environment to another, provided they are the same site. The site is identified using a Universally Unique Identifier (UUID). The site UUID must match the target site to allow any importing of configuration files on that site.') . '

'; + $output .= '

' . t('For more information, see the online documentation for the Configuration Manager module', array( '!url' => 'https://www.drupal.org/documentation/administer/config',)) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Exporting configuration') . '
'; + $output .= '
' . t('Users with the Export configuration permission can create a downloadable archive of the entire active site configuration or view a yml export of a single configuration item.
', array( '!full' => '/admin/config/development/configuration/full/export', "!single" => '/admin/config/development/configuration/single/export',)); + $output .= '
' . t('Synchronizing configuration'). '
'; + $output .= '
' . t('Users with the Synchronize configuration permission can review differences between the active configuration and a staged configuration. The Synchronize page also shows new or removed config files. It is important to check that there are no removals of any core configuration (such as system.*, entity.*) as this will result in a site error.
', array('!sync' => '/admin/config/development/configuration',)); + $output .= '
' . t('Importing configuration') . '
'; + $output .= '
' . t('Users with the Import configuration permission can upload a full site configuration from an archive file or paste yml for a single configuration item into a form.
', array('!full' => '/admin/config/development/configuration/full/import','!single' => '/admin/config/development/configuration/single/import',)); + $output .= '
'; return $output; } } -- 1.8.1.msysgit.1