public function FormComponentBase::settingsFormSubmit in Flexiform 8
4 methods override FormComponentBase::settingsFormSubmit()
- CustomTextComponent::settingsFormSubmit in src/
Plugin/ FormComponentType/ CustomTextComponent.php - ExtraFieldComponent::settingsFormSubmit in src/
Plugin/ FormComponentType/ ExtraFieldComponent.php - FieldWidgetComponent::settingsFormSubmit in src/
Plugin/ FormComponentType/ FieldWidgetComponent.php - FormElementComponent::settingsFormSubmit in src/
Plugin/ FormComponentType/ FormElementComponent.php
File
- src/
FormComponent/ FormComponentBase.php, line 127
Class
- FormComponentBase
- Provides the base form component plugin.
Namespace
Drupal\flexiform\FormComponentCode
public function settingsFormSubmit($values, array $form, FormStateInterface $form_state) {
return [
'settings' => [
'label' => $values['settings']['label'],
],
];
}