You are here

public function FormComponentTypeCreateableInterface::addComponentFormValidate in Flexiform 8

Validate the add component form.

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::addComponentFormValidate()
FormComponentTypeCreateableBase::addComponentFormValidate in src/FormComponent/FormComponentTypeCreateableBase.php
Validate the add component form.

File

src/FormComponent/FormComponentTypeCreateableInterface.php, line 39

Class

FormComponentTypeCreateableInterface
Interface for component types that are createable.

Namespace

Drupal\flexiform\FormComponent

Code

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