AllowedValuesConstraint::$strict

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

Type: 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;

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