You are here

public function AutocompleteWidgetBase::elementValidate in Entity reference 8

Element validate.

2 methods override AutocompleteWidgetBase::elementValidate()
AutocompleteTagsWidget::elementValidate in lib/Drupal/entityreference/Plugin/field/widget/AutocompleteTagsWidget.php
Implements Drupal\entityreference\Plugin\field\widget\DefaultAutocompleteWidget::elementValidate()
AutocompleteWidget::elementValidate in lib/Drupal/entityreference/Plugin/field/widget/AutocompleteWidget.php
Implements Drupal\entityreference\Plugin\field\widget\DefaultAutocompleteWidget::elementValidate()

File

lib/Drupal/entityreference/Plugin/field/widget/AutocompleteWidgetBase.php, line 102
Definition of Drupal\entityreference\Plugin\field\widget\AutocompleteWidgetBase.

Class

AutocompleteWidgetBase
Parent plugin for entity-reference autocomplete widgets.

Namespace

Drupal\entityreference\Plugin\field\widget

Code

public function elementValidate($element, &$form_state) {
}