3 namespace Drupal\config\Form;
5 use Drupal\Core\Form\FormBase;
6 use Drupal\Core\Form\FormStateInterface;
9 * Defines the configuration export form.
11 class ConfigExportForm extends FormBase {
16 public function getFormId() {
17 return 'config_export_form';
23 public function buildForm(array $form, FormStateInterface $form_state) {
26 '#value' => $this->t('Export'),
34 public function submitForm(array &$form, FormStateInterface $form_state) {
35 $form_state->setRedirect('config.export_download');