interface ValidatorManagerInterface in Clientside Validation 8
Same name and namespace in other branches
- 8.2 src/ValidatorManagerInterface.php \Drupal\clientside_validation\ValidatorManagerInterface
- 3.0.x src/ValidatorManagerInterface.php \Drupal\clientside_validation\ValidatorManagerInterface
- 2.0.x src/ValidatorManagerInterface.php \Drupal\clientside_validation\ValidatorManagerInterface
Interface ValidatorManagerInterface.
@package Drupal\clientside_validation
Hierarchy
- interface \Drupal\Component\Plugin\PluginManagerInterface; interface \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface
- interface \Drupal\clientside_validation\ValidatorManagerInterface
Expanded class hierarchy of ValidatorManagerInterface
All classes that implement ValidatorManagerInterface
File
- src/
ValidatorManagerInterface.php, line 14
Namespace
Drupal\clientside_validationView source
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);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CachedDiscoveryInterface:: |
public | function | Clears static and persistent plugin definition caches. | 2 |
CachedDiscoveryInterface:: |
public | function | Disable the use of caches. | 2 |
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 3 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 2 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 7 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |
ValidatorManagerInterface:: |
public | function | Get validators for a form element. | 1 |