From b850e2bbdc4b55ae62a2d713dafb6289dc09f8e6 Mon Sep 17 00:00:00 2001 From: Darryl Norris Date: Sat, 16 May 2015 10:07:19 -0700 Subject: [PATCH] Replacing yml for YAML --- core/modules/config/config.module | 51 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git a/core/modules/config/config.module b/core/modules/config/config.module index 84e0210..1401f66 100644 --- a/core/modules/config/config.module +++ b/core/modules/config/config.module @@ -15,15 +15,60 @@ 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' => 'http://drupal.org/documentation/administer/config', - )) . '

'; + $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' => 'http://drupal.org/documentation/administer/config', + )) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Exporting a Full Configuration', array( + '!url' => '/admin/config/development/configuration/full/export', + )) . '
'; + $output .= '
' . t('Creates a downloadable archive of the active configuration.') . '
'; + $output .= '
' . t('Importing a Full Configuration', array( + '!url' => '/admin/config/development/configuration/full/import', + )) . '
'; + $output .= '
' . t('Allows you to upload a full site configuration from an archive file.') . '
'; + $output .= '
' . t('Synchronizing Configuration', array( + '!url' => '/admin/config/development/configuration', + )) . '
'; + $output .= '
' . t('Allows you to review differences between the active configuration and an imported configuration archive. From this list you can view the differences between the configuration to ensure that the changes are as expected, before setting the changes active. The Synchronize page will also show 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.'). '
'; + $output .= '
' . t('Exporting a Single Configuration Item', array( + '!url' => '/admin/config/development/configuration/single/export', + )) . '
'; + $output .= '
' . t('Allows you to export a single configuration item to YAML that can be copied into the single import form.') . '
'; + $output .= '
' . t('Importing a Single Configuration Item', array( + '!url' => '/admin/config/development/configuration/single/import', + )) . '
'; + $output .= '
' . t('Allows you to import a single configuration item by pasting YAML into a form.') . '
'; + $output .= '
'; 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.') . '

'; 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; } } -- 1.9.1