function ExecutionContext::setNode
Same name in this branch
- 11.1.x vendor/symfony/validator/Context/ExecutionContext.php \Symfony\Component\Validator\Context\ExecutionContext::setNode()
Overrides ExecutionContextInterface::setNode
File
-
core/
lib/ Drupal/ Core/ Validation/ ExecutionContext.php, line 97
Class
- ExecutionContext
- Defines an execution context class.
Namespace
Drupal\Core\ValidationCode
public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata, string $propertyPath) : void {
$this->value = $value;
$this->object = $object;
$this->metadata = $metadata;
$this->propertyPath = $propertyPath;
}