function DraggableListBuilderTrait::validateForm
Same name in other branches
- 10 core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php \Drupal\Core\Entity\DraggableListBuilderTrait::validateForm()
Form validation handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
See also
\Drupal\Core\Form\FormInterface::validateForm())
2 methods override DraggableListBuilderTrait::validateForm()
- LanguageListBuilder::validateForm in core/
modules/ language/ src/ LanguageListBuilder.php - SearchPageListBuilder::validateForm in core/
modules/ search/ src/ SearchPageListBuilder.php
File
-
core/
lib/ Drupal/ Core/ Entity/ DraggableListBuilderTrait.php, line 193
Class
- DraggableListBuilderTrait
- Provides a trait for draggable listings of entities.
Namespace
Drupal\Core\EntityCode
public function validateForm(array &$form, FormStateInterface $form_state) {
// No validation.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.