diff --git a/core/modules/config/config.module b/core/modules/config/config.module index 05f4b6d..925be4e 100644 --- a/core/modules/config/config.module +++ b/core/modules/config/config.module @@ -24,6 +24,11 @@ function config_help($route_name, RouteMatchInterface $route_match) { $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 here, you will be able to examine the changes and import them.') . '

'; + return $output; } } diff --git a/core/modules/config/src/Form/ConfigImportForm.php b/core/modules/config/src/Form/ConfigImportForm.php index ded11cb..85618cb 100644 --- a/core/modules/config/src/Form/ConfigImportForm.php +++ b/core/modules/config/src/Form/ConfigImportForm.php @@ -55,13 +55,10 @@ public function getFormId() { * {@inheritdoc} */ public function buildForm(array $form, FormStateInterface $form_state) { - $form['description'] = array( - '#markup' => '

' . $this->t('Use the form to upload a package of Drupal 8 configuration files. After submitting, you will be redirected to the import configuration screen.') . '

', - ); $form['import_tarball'] = array( '#type' => 'file', - '#title' => $this->t('Configuration file package'), - '#description' => $this->t('You must upload a file of type tar.gz.'), + '#title' => $this->t('Configuration archive'), + '#description' => $this->t('Allowed types: @extensions.', array('@extensions' => 'tar.gz tgz')), ); $form['submit'] = array(