diff --git a/core/modules/config/config.module b/core/modules/config/config.module index 05f4b6d..f9b37ad 100644 --- a/core/modules/config/config.module +++ b/core/modules/config/config.module @@ -13,17 +13,55 @@ function config_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.config': - $output = ''; - $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', + $output = ''; + $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('This 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://drupal.org/documentation/administer/config', )) . '
'; - return $output; + $output .= '' . t('Import configuration that is placed in your staging directory. All changes, deletions, renames, and additions are listed below.') . '
'; - return $output; + $output = ''; + $output .= '' . t('Import configuration that is placed in your staging directory. All changes, deletions, renames, and additions are listed below.') . '
'; + return $output; + + case 'config.export_full': + $output = ''; + $output .= '' . t('The full export page can be used to export all configurations of this site, and download them as a gzipped tar file.') . '
'; + return $output; + + case 'config.import_full': + $output = ''; + $output .= '' . t('The full import page can be used to import the full configuration of this site by uploading a gzipped tar file consisting of all configuration YAML files.') . '
'; + return $output; + + case 'config.export_single': + $output = ''; + $output .= '' . t('The single export page can be used to retrieve a single configuration in a YAML structure.') . '
'; + return $output; + + case 'config.import_single': + $output = ''; + $output .= '' . t('The single import page can be used to import a single configuration by pasting a YAML structure in the textarea.') . '
'; + return $output; } } @@ -36,6 +74,6 @@ function config_file_download($uri) { if ($scheme == 'temporary' && $target == 'config.tar.gz') { return array( 'Content-disposition' => 'attachment; filename="config.tar.gz"', - ); + ); } }