public function FormComponentTypeCreateableBase::addComponentFormSubmit in Flexiform 8
Submit the add component options form.
Make sure the desired options values are set to the same parents as the supplied form element.
Parameters
array $form: The part of the form array that should contain the component plugin settings.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
Overrides FormComponentTypeCreateableInterface::addComponentFormSubmit
2 methods override FormComponentTypeCreateableBase::addComponentFormSubmit()
- CustomTextComponentType::addComponentFormSubmit in src/
Plugin/ FormComponentType/ CustomTextComponentType.php - Submit the add component options form.
- FormElementComponentType::addComponentFormSubmit in src/
Plugin/ FormComponentType/ FormElementComponentType.php - Submit the add component options form.
File
- src/
FormComponent/ FormComponentTypeCreateableBase.php, line 29
Class
- FormComponentTypeCreateableBase
- Interface for component types that are createable.
Namespace
Drupal\flexiform\FormComponentCode
public function addComponentFormSubmit(array $form, FormStateInterface $form_state) {
}