You are here

public function EntityFormField::viewsFormSubmit in Views Entity Form Field 8

File

src/Plugin/views/field/EntityFormField.php, line 547

Class

EntityFormField
Defines a views form element for an entity field widget.

Namespace

Drupal\views_entity_form_field\Plugin\views\field

Code

public function viewsFormSubmit(array &$form, FormStateInterface $form_state) {
  $form_state
    ->cleanValues();
  $this
    ->buildEntities($form, $form_state);
}