You are here

public property AllowedValuesConstraint::$strict in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\AllowedValuesConstraint::strict
  2. 9 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\AllowedValuesConstraint::strict

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraint.php, line 19

Class

AllowedValuesConstraint
Checks for the value being allowed.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public $strict = TRUE;