ExecutionContext::$constraint

The currently validated constraint.

Type: constraint

File

core/lib/Drupal/Core/Validation/ExecutionContext.php, line 58

Class

ExecutionContext
Defines an execution context class.

Namespace

Drupal\Core\Validation

Code

protected ?Constraint $constraint;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.