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