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

Breadcrumb

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

function ExecutionContextFactoryInterface::createContext

Creates a new execution context.

Parameters

mixed $root The root value of the validated: object graph

2 methods override ExecutionContextFactoryInterface::createContext()
ExecutionContextFactory::createContext in core/lib/Drupal/Core/Validation/ExecutionContextFactory.php
Creates a new execution context.
ExecutionContextFactory::createContext in vendor/symfony/validator/Context/ExecutionContextFactory.php
Creates a new execution context.

File

vendor/symfony/validator/Context/ExecutionContextFactoryInterface.php, line 32

Class

ExecutionContextFactoryInterface
Creates instances of {@link ExecutionContextInterface}.

Namespace

Symfony\Component\Validator\Context

Code

public function createContext(ValidatorInterface $validator, mixed $root) : ExecutionContextInterface;

API Navigation

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