ValidatorManagerInterface.php in Clientside Validation 8
Same filename and directory in other branches
Namespace
Drupal\clientside_validationFile
src/ValidatorManagerInterface.phpView source
<?php
namespace Drupal\clientside_validation;
use Drupal\Component\Plugin\PluginManagerInterface;
use Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface;
use Drupal\Core\Form\FormStateInterface;
/**
* Interface ValidatorManagerInterface.
*
* @package Drupal\clientside_validation
*/
interface ValidatorManagerInterface extends PluginManagerInterface, CachedDiscoveryInterface {
/**
* Get validators for a form element.
*
* @param array $element
* The form element to get the validators for.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The form state of the form this element belongs to.
*/
public function getValidators(array $element, FormStateInterface $form_state);
}
Interfaces
Name | Description |
---|---|
ValidatorManagerInterface | Interface ValidatorManagerInterface. |