public function RecursiveContextualValidator::atPath in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/validator/Validator/RecursiveContextualValidator.php \Symfony\Component\Validator\Validator\RecursiveContextualValidator::atPath()
- 8.0 core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php \Drupal\Core\TypedData\Validation\RecursiveContextualValidator::atPath()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php \Drupal\Core\TypedData\Validation\RecursiveContextualValidator::atPath()
Appends the given path to the property path of the context.
If called multiple times, the path will always be reset to the context's original path with the given path appended to it.
Parameters
string $path The path to append:
Return value
ContextualValidatorInterface This validator
Overrides ContextualValidatorInterface::atPath
File
- core/
lib/ Drupal/ Core/ TypedData/ Validation/ RecursiveContextualValidator.php, line 80 - Contains \Drupal\Core\TypedData\Validation\RecursiveContextualValidator.
Class
- RecursiveContextualValidator
- Defines a recursive contextual validator for Typed Data.
Namespace
Drupal\Core\TypedData\ValidationCode
public function atPath($path) {
// @todo This method is not used at the moment, see
// https://www.drupal.org/node/2482527
return $this;
}