You are here

public function FormComponentTypeCreateableInterface::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.

1 method overrides FormComponentTypeCreateableInterface::addComponentFormSubmit()
FormComponentTypeCreateableBase::addComponentFormSubmit in src/FormComponent/FormComponentTypeCreateableBase.php
Submit the add component options form.

File

src/FormComponent/FormComponentTypeCreateableInterface.php, line 53

Class

FormComponentTypeCreateableInterface
Interface for component types that are createable.

Namespace

Drupal\flexiform\FormComponent

Code

public function addComponentFormSubmit(array $form, FormStateInterface $form_state);