You are here

public function FormElementComponent::extractFormValues in Flexiform 8

Extract the form values.

Parameters

array $form: The section of the form corresponding to this component.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

Overrides FormComponentInterface::extractFormValues

File

src/Plugin/FormComponentType/FormElementComponent.php, line 101

Class

FormElementComponent
Component class for field widgets.

Namespace

Drupal\flexiform\Plugin\FormComponentType

Code

public function extractFormValues(array $form, FormStateInterface $form_state) {
  $this
    ->getPlugin()
    ->buildEntities($form, $form_state);
}