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

Breadcrumb

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

function ExecutionContextInterface::getValue

Returns the value that the validator is currently validating.

If you want to retrieve the object that was originally passed to the validator, use {@link getRoot}.

2 methods override ExecutionContextInterface::getValue()
ExecutionContext::getValue in core/lib/Drupal/Core/Validation/ExecutionContext.php
Returns the value that the validator is currently validating.
ExecutionContext::getValue in vendor/symfony/validator/Context/ExecutionContext.php
Returns the value that the validator is currently validating.

File

vendor/symfony/validator/Context/ExecutionContextInterface.php, line 213

Class

ExecutionContextInterface
The context of a validation run.

Namespace

Symfony\Component\Validator\Context

Code

public function getValue() : mixed;

API Navigation

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