function ExecutionContextInterface::setNode
Warning: Should not be called by user code, to be used by the validator engine only.
Parameters
object|null $object The currently validated object:
string $propertyPath The property path to the current value:
2 methods override ExecutionContextInterface::setNode()
- ExecutionContext::setNode in core/
lib/ Drupal/ Core/ Validation/ ExecutionContext.php - Warning: Should not be called by user code, to be used by the validator engine only.
- ExecutionContext::setNode in vendor/
symfony/ validator/ Context/ ExecutionContext.php - Warning: Should not be called by user code, to be used by the validator engine only.
File
-
vendor/
symfony/ validator/ Context/ ExecutionContextInterface.php, line 125
Class
- ExecutionContextInterface
- The context of a validation run.
Namespace
Symfony\Component\Validator\ContextCode
public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata, string $propertyPath) : void;