public function RlInterpreter::submitConfigurationForm in Recurring Dates Field 8.2
Same name and namespace in other branches
- 3.x src/Plugin/DateRecurInterpreter/RlInterpreter.php \Drupal\date_recur\Plugin\DateRecurInterpreter\RlInterpreter::submitConfigurationForm()
- 3.0.x src/Plugin/DateRecurInterpreter/RlInterpreter.php \Drupal\date_recur\Plugin\DateRecurInterpreter\RlInterpreter::submitConfigurationForm()
- 3.1.x src/Plugin/DateRecurInterpreter/RlInterpreter.php \Drupal\date_recur\Plugin\DateRecurInterpreter\RlInterpreter::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
- src/
Plugin/ DateRecurInterpreter/ RlInterpreter.php, line 185
Class
- RlInterpreter
- Provides an interpreter implemented by rlanvin/php-rrule.
Namespace
Drupal\date_recur\Plugin\DateRecurInterpreterCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) : void {
$this->configuration['show_start_date'] = $form_state
->getValue('show_start_date');
$this->configuration['show_until'] = $form_state
->getValue('show_until');
$this->configuration['date_format'] = $form_state
->getValue('date_format');
$this->configuration['show_infinite'] = $form_state
->getValue('show_infinite');
}