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

Breadcrumb

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

function ExecutionContextInterface::setConstraint

Warning: Should not be called by user code, to be used by the validator engine only.

2 methods override ExecutionContextInterface::setConstraint()
ExecutionContext::setConstraint 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::setConstraint 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 137

Class

ExecutionContextInterface
The context of a validation run.

Namespace

Symfony\Component\Validator\Context

Code

public function setConstraint(Constraint $constraint) : void;

API Navigation

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