function ConstraintViolationBuilder::atPath
Same name in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php \Drupal\Core\TypedData\Validation\ConstraintViolationBuilder::atPath()
- 10 core/lib/Drupal/Core/Validation/ConstraintViolationBuilder.php \Drupal\Core\Validation\ConstraintViolationBuilder::atPath()
- 11.x core/lib/Drupal/Core/Validation/ConstraintViolationBuilder.php \Drupal\Core\Validation\ConstraintViolationBuilder::atPath()
File
-
core/
lib/ Drupal/ Core/ TypedData/ Validation/ ConstraintViolationBuilder.php, line 138
Class
- ConstraintViolationBuilder
- Defines a constraint violation builder for the Typed Data validator.
Namespace
Drupal\Core\TypedData\ValidationCode
public function atPath($path) {
$this->propertyPath = PropertyPath::append($this->propertyPath, $path);
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.