You are here

public function WidgetInterface::validate in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/WidgetInterface.php \Drupal\entity_browser\WidgetInterface::validate()

Validates form.

Parameters

array $form: Form.

\Drupal\Core\Form\FormStateInterface $form_state: Form state object.

1 method overrides WidgetInterface::validate()
WidgetBase::validate in src/WidgetBase.php
Validates form.

File

src/WidgetInterface.php, line 99

Class

WidgetInterface
Defines the interface for entity browser widgets.

Namespace

Drupal\entity_browser

Code

public function validate(array &$form, FormStateInterface $form_state);