Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ExecutionContext.php

function ExecutionContext::setNode

Same name in this branch
  1. 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\Validation

Code

public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata, string $propertyPath) : void {
    $this->value = $value;
    $this->object = $object;
    $this->metadata = $metadata;
    $this->propertyPath = $propertyPath;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal