You are here

public function EntityFieldCompareTypePluginBase::submitConfigurationForm in Entity Field Condition 2.0.x

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

File

src/Plugin/EntityFieldCondition/CompareType/EntityFieldCompareTypePluginBase.php, line 110

Class

EntityFieldCompareTypePluginBase
The entity field compare type plugin base class.

Namespace

Drupal\entity_field_condition\Plugin\EntityFieldCondition\CompareType

Code

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