function ConstraintViolationBuilder::atPath

File

core/lib/Drupal/Core/Validation/ConstraintViolationBuilder.php, line 74

Class

ConstraintViolationBuilder
A constraint violation builder for the basic Symfony validator.

Namespace

Drupal\Core\Validation

Code

public function atPath(string $path) : static {
  $this->propertyPath = PropertyPath::append($this->propertyPath, (string) $path);
  return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.