You are here

public function CsvParserFeedForm::submitConfigurationForm in Feeds 8.3

Form submission handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides ExternalPluginFormBase::submitConfigurationForm

File

src/Feeds/Parser/Form/CsvParserFeedForm.php, line 47

Class

CsvParserFeedForm
Provides a form on the feed edit page for the CsvParser.

Namespace

Drupal\feeds\Feeds\Parser\Form

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state, FeedInterface $feed = NULL) {
  $feed
    ->setConfigurationFor($this->plugin, $form_state
    ->getValues());
}