You are here

public function FeedsConfigurable::configFormSubmit in Feeds 8.2

Submission handler for configForm().

Parameters

$values:

2 calls to FeedsConfigurable::configFormSubmit()
FeedsImporter::configFormSubmit in lib/Drupal/feeds/FeedsImporter.php
Reschedule if import period changes.
FeedsNodeProcessor::configFormSubmit in lib/Drupal/feeds/Plugin/feeds/processor/FeedsNodeProcessor.php
Reschedule if expiry time changes.
2 methods override FeedsConfigurable::configFormSubmit()
FeedsImporter::configFormSubmit in lib/Drupal/feeds/FeedsImporter.php
Reschedule if import period changes.
FeedsNodeProcessor::configFormSubmit in lib/Drupal/feeds/Plugin/feeds/processor/FeedsNodeProcessor.php
Reschedule if expiry time changes.

File

lib/Drupal/feeds/Plugin/FeedsConfigurable.php, line 205
FeedsConfigurable and helper functions.

Class

FeedsConfigurable
Base class for configurable classes. Captures configuration handling, form handling and distinguishes between in-memory configuration and persistent configuration.

Namespace

Drupal\feeds\Plugin

Code

public function configFormSubmit(&$values) {
  $this
    ->addConfig($values);
  $this
    ->save();
  drupal_set_message(t('Your changes have been saved.'));
  feeds_cache_clear(FALSE);
}