public function SmartdateFieldBuilder::submitConfigurationForm in Smart Date 3.4.x
Same name and namespace in other branches
- 3.3.x src/Plugin/diff/Field/SmartdateFieldBuilder.php \Drupal\smart_date\Plugin\diff\Field\SmartdateFieldBuilder::submitConfigurationForm()
File
- src/
Plugin/ diff/ Field/ SmartdateFieldBuilder.php, line 99
Class
- SmartdateFieldBuilder
- Plugin to diff text fields.
Namespace
Drupal\smart_date\Plugin\diff\FieldCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['timezone_override'] = $form_state
->getValue('timezone_override');
$this->configuration['format'] = $form_state
->getValue('format');
parent::submitConfigurationForm($form, $form_state);
}