function ExecutionContext::setConstraint
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php \Drupal\Core\TypedData\Validation\ExecutionContext::setConstraint()
- 8.9.x core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php \Drupal\Core\TypedData\Validation\ExecutionContext::setConstraint()
- 10 core/lib/Drupal/Core/Validation/ExecutionContext.php \Drupal\Core\Validation\ExecutionContext::setConstraint()
File
-
core/
lib/ Drupal/ Core/ Validation/ ExecutionContext.php, line 107
Class
- ExecutionContext
- Defines an execution context class.
Namespace
Drupal\Core\ValidationCode
public function setConstraint(Constraint $constraint) : void {
$this->constraint = $constraint;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.