UniqueFieldConstraint::$caseSensitive
This constraint is case-insensitive by default.
For example "FOO" and "foo" would be considered as equivalent, and validation of the constraint would fail.
Type: bool
File
- 
              core/lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ UniqueFieldConstraint.php, line 28 
Class
- UniqueFieldConstraint
- Checks if an entity field has a unique value.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public $caseSensitive = FALSE;Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
