public function WidgetSelectorInterface::validate in Entity Browser 8
Same name and namespace in other branches
- 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_browserCode
public function validate(array &$form, FormStateInterface $form_state);