public function ValidatorManagerInterface::getValidators in Clientside Validation 8
Same name and namespace in other branches
- 8.2 src/ValidatorManagerInterface.php \Drupal\clientside_validation\ValidatorManagerInterface::getValidators()
- 3.0.x src/ValidatorManagerInterface.php \Drupal\clientside_validation\ValidatorManagerInterface::getValidators()
- 2.0.x src/ValidatorManagerInterface.php \Drupal\clientside_validation\ValidatorManagerInterface::getValidators()
Get validators for a form element.
Parameters
array $element: The form element to get the validators for.
\Drupal\Core\Form\FormStateInterface $form_state: The form state of the form this element belongs to.
1 method overrides ValidatorManagerInterface::getValidators()
- ValidatorManager::getValidators in src/
ValidatorManager.php - Get validators for a form element.
File
- src/
ValidatorManagerInterface.php, line 24
Class
- ValidatorManagerInterface
- Interface ValidatorManagerInterface.
Namespace
Drupal\clientside_validationCode
public function getValidators(array $element, FormStateInterface $form_state);