3 namespace Drupal\config\Form;
5 use Drupal\Core\Form\FormBase;
6 use Drupal\Core\Form\FormStateInterface;
9 * Defines the configuration export form.
13 class ConfigExportForm extends FormBase {
18 public function getFormId() {
19 return 'config_export_form';
25 public function buildForm(array $form, FormStateInterface $form_state) {
28 '#value' => $this->t('Export'),
36 public function submitForm(array &$form, FormStateInterface $form_state) {
37 $form_state->setRedirect('config.export_download');