diff --git a/core/modules/config/config.module b/core/modules/config/config.module index cc753b7..894f826 100644 --- a/core/modules/config/config.module +++ b/core/modules/config/config.module @@ -15,46 +15,46 @@ 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 between installations of your website in different environments, such as development, staging, and production. Configuration is saved in YAML format in individual *.yml files. For more information, see the online documentation for the Configuration Manager module.', array('!url' => 'https://www.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. Configuration is stored in YAML format. 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 a full configuration') . '
'; - $output .= '
' . t('You can create and download an archive consisting of all configuration *.yml files of your site on the Export page.' , array('!url' => \Drupal::url('config.export_full'))) . '
'; + $output .= '
' . t('You can create and download an archive consisting of all your site\'s configuration exported as *.yml files on the Export page.' , array('!url' => \Drupal::url('config.export_full'))) . '
'; $output .= '
' . t('Importing a full configuration') . '
'; - $output .= '
' . t('You can upload a full site configuration from an archive file on the Import page. The site is identified using a Universally Unique Identifier (UUID) which must match the target site to allow the import of configuration files on that site.', array('!url' => \Drupal::url('config.import_full'))) . '
'; + $output .= '
' . t('You can upload a full site configuration from an archive file on the Import page. When importing data from a different environment, the site and the import files are matched based on the system.config UUID parameter. That means that your other environments should initially be set-up from the same database copy as the target site. Migrations are not supported.', array('!url' => \Drupal::url('config.import_full'))) . '
'; $output .= '
' . t('Exporting a single configuration item') . '
'; - $output .= '
' . t('You can export a single configuration item by selecting a Configuration type and Configuration name on the Single export page. The configuration and its corrensponding *.yml file name is then displayed on the page for you to copy it.', array('!single-export' => \Drupal::url('config.export_single'))) . '
'; + $output .= '
' . t('You can export a single configuration item by selecting a Configuration type and Configuration name on the Single export page. The configuration and its corresponding *.yml file name are then displayed on the page for you to copy them.', array('!single-export' => \Drupal::url('config.export_single'))) . '
'; $output .= '
' . t('Importing a single configuration item') . '
'; - $output .= '
' . t('You can to import a single configuration item by pasting it in YAML format into the form on the Single import page.', array('!single-import' => \Drupal::url('config.import_single'))) . '
'; + $output .= '
' . t('You can import a single configuration item by pasting it in YAML format into the form on the Single import page.', array('!single-import' => \Drupal::url('config.import_single'))) . '
'; $output .= '
' . t('Synchronizing configuration'). '
'; - $output .= '
' . t('You can review differences between the active configuration and an imported configuration archive on the Synchronize page to ensure that the changes are as expected, before setting the changes active. The Synchronize page also shows new or removed configuration files. It is important to check that there are no removals of any core configurationfiles (such as system.*, entity.*) as this will result in a site error.', array('!synchronize' => \Drupal::url('config.sync'))) . '
'; + $output .= '
' . t('You can review differences between the active configuration and an imported configuration archive on the Synchronize page to ensure that the changes are as expected, before finalizing the import. The Synchronize page also shows configuration items that would be added or removed.', array('!synchronize' => \Drupal::url('config.sync'))) . '
'; $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; + $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; + $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; + $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; + $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; + $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; } } @@ -67,6 +67,6 @@ function config_file_download($uri) { if ($scheme == 'temporary' && $target == 'config.tar.gz') { return array( 'Content-disposition' => 'attachment; filename="config.tar.gz"', - ); + ); } }