You are here

public function WidgetSelectorInterface::validate in Entity Browser 8

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

Validates form.

Parameters

array $form: Form.

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

1 method overrides WidgetSelectorInterface::validate()
WidgetSelectorBase::validate in src/WidgetSelectorBase.php
Validates form.

File

src/WidgetSelectorInterface.php, line 53

Class

WidgetSelectorInterface
Defines the interface for entity browser widget selectors.

Namespace

Drupal\entity_browser

Code

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