You are here

public function MetaTagDownloadForm::submitForm in Metatag Import Export CSV 8

Form submission handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormInterface::submitForm

File

src/Form/MetaTagDownloadForm.php, line 137

Class

MetaTagDownloadForm
Defines a form that configures forms module settings.

Namespace

Drupal\metatag_import_export_csv\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $entity_type = $form_state
    ->getValue('entity_type');
  $bundles = $form_state
    ->getValue('bundles');
  $tags = $form_state
    ->getValue('tags');
  $delimiter = $form_state
    ->getValue('delimiter');
  $this
    ->metatagImportExportCsvDownload($entity_type, $bundles, $tags, $delimiter);
}