public function EntityFormField::viewsFormValidate in Views Entity Form Field 8
File
- src/
Plugin/ views/ field/ EntityFormField.php, line 539
Class
- EntityFormField
- Defines a views form element for an entity field widget.
Namespace
Drupal\views_entity_form_field\Plugin\views\fieldCode
public function viewsFormValidate(array &$form, FormStateInterface $form_state) {
$form_state
->cleanValues();
$this
->buildEntities($form, $form_state, TRUE);
}