You are here

public function ExternalPluginFormBase::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 PluginFormInterface::submitConfigurationForm

4 methods override ExternalPluginFormBase::submitConfigurationForm()
CsvParserFeedForm::submitConfigurationForm in src/Feeds/Parser/Form/CsvParserFeedForm.php
Form submission handler.
DirectoryFetcherFeedForm::submitConfigurationForm in src/Feeds/Fetcher/Form/DirectoryFetcherFeedForm.php
Form submission handler.
HttpFetcherFeedForm::submitConfigurationForm in src/Feeds/Fetcher/Form/HttpFetcherFeedForm.php
Form submission handler.
UploadFetcherFeedForm::submitConfigurationForm in src/Feeds/Fetcher/Form/UploadFetcherFeedForm.php
Form submission handler.

File

src/Plugin/Type/ExternalPluginFormBase.php, line 43

Class

ExternalPluginFormBase
Base class for Feeds plugins that have external configuration forms.

Namespace

Drupal\feeds\Plugin\Type

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this->plugin
    ->setConfiguration($form_state
    ->getValues());
}