function RecursiveValidator::validateProperty
File
-
core/
lib/ Drupal/ Core/ TypedData/ Validation/ RecursiveValidator.php, line 97
Class
- RecursiveValidator
- Defines a recursive validator for Typed Data.
Namespace
Drupal\Core\TypedData\ValidationCode
public function validateProperty($object, $propertyName, $groups = NULL) {
return $this->startContext($object)
->validateProperty($object, $propertyName, $groups)
->getViolations();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.