You are here

public function FeaturesGenerator::applyExportFormSubmit in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesGenerator.php \Drupal\features\FeaturesGenerator::applyExportFormSubmit()

Responds to the submission of \Drupal\features_ui\Form\FeaturesExportForm.

Overrides FeaturesGeneratorInterface::applyExportFormSubmit

File

src/FeaturesGenerator.php, line 111

Class

FeaturesGenerator
Class responsible for performing package generation.

Namespace

Drupal\features

Code

public function applyExportFormSubmit($method_id, &$form, FormStateInterface $form_state) {
  $method = $this
    ->getGenerationMethodInstance($method_id);
  $method
    ->exportFormSubmit($form, $form_state);
}