FileUriUnique::$caseSensitive
Same name in other branches
- 11.x core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php \Drupal\file\Plugin\Validation\Constraint\FileUriUnique::caseSensitive
This constraint is case-sensitive.
For example "public://foo.txt" and "public://FOO.txt" are treated as different values, and can co-exist.
Type: bool
Overrides UniqueFieldConstraint::$caseSensitive
File
-
core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileUriUnique.php, line 29
Class
- FileUriUnique
- Supports validating file URIs.
Namespace
Drupal\file\Plugin\Validation\ConstraintCode
public $caseSensitive = TRUE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.