' . 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.') . '
'; return $output; case 'config.import_full': $output = ''; $output .= '' . t('After uploading a configuration archive, you will be able to examine the changes and import them.') . '
'; return $output; } } /** * Implements hook_file_download(). */ function config_file_download($uri) { $scheme = file_uri_scheme($uri); $target = file_uri_target($uri); if ($scheme == 'temporary' && $target == 'config.tar.gz') { return array( 'Content-disposition' => 'attachment; filename="config.tar.gz"', ); } }