Extends the contextual validator validate method by a new parameter.
Hierarchy
- interface \Symfony\Component\Validator\Validator\ContextualValidatorInterface
- interface \Drupal\Core\TypedData\Validation\ContextualValidatorInterface
File
- core/lib/Drupal/Core/TypedData/Validation/ContextualValidatorInterface.php, line 10
Namespace
Drupal\Core\TypedData\Validation
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ContextualValidatorInterface::atPath | public | function | Appends the given path to the property path of the context. |
ContextualValidatorInterface::getViolations | public | function | Returns the violations that have been generated so far in the context of the validator. |
ContextualValidatorInterface::validate | public | function | Validates a value against a constraint or a list of constraints. Overrides ContextualValidatorInterface::validate |
ContextualValidatorInterface::validateProperty | public | function | Validates a property of an object against the constraints specified for this property. |
ContextualValidatorInterface::validatePropertyValue | public | function | Validates a value against the constraints specified for an object's property. |
Please login to continue.