public function TestInterpreter::submitConfigurationForm in Recurring Dates Field 8.2
Same name and namespace in other branches
- 3.x tests/modules/date_recur_interpreter_test/src/Plugin/DateRecurInterpreter/TestInterpreter.php \Drupal\date_recur_interpreter_test\Plugin\DateRecurInterpreter\TestInterpreter::submitConfigurationForm()
- 3.0.x tests/modules/date_recur_interpreter_test/src/Plugin/DateRecurInterpreter/TestInterpreter.php \Drupal\date_recur_interpreter_test\Plugin\DateRecurInterpreter\TestInterpreter::submitConfigurationForm()
- 3.1.x tests/modules/date_recur_interpreter_test/src/Plugin/DateRecurInterpreter/TestInterpreter.php \Drupal\date_recur_interpreter_test\Plugin\DateRecurInterpreter\TestInterpreter::submitConfigurationForm()
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
- tests/
modules/ date_recur_interpreter_test/ src/ Plugin/ DateRecurInterpreter/ TestInterpreter.php, line 65
Class
- TestInterpreter
- Provides an interpreter for testing.
Namespace
Drupal\date_recur_interpreter_test\Plugin\DateRecurInterpreterCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['show_foo'] = $form_state
->getValue('show_foo');
}