ConfigurablePluginBase.php in Feeds 8.3
File
src/Plugin/Type/ConfigurablePluginBase.php
View source
<?php
namespace Drupal\feeds\Plugin\Type;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Plugin\PluginFormInterface;
abstract class ConfigurablePluginBase extends PluginBase implements PluginFormInterface {
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
}
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this
->setConfiguration($form_state
->getValues());
}
}