ContextualValidatorInterface

Extends the contextual validator validate method by a new parameter.

Hierarchy

  • interface \Symfony\Component\Validator\Validator\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.
doc_Drupal
2016-10-29 08:58:51
Comments
Leave a Comment

Please login to continue.