FileUriUnique::$caseSensitive

Same name in other branches
  1. 10 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 34

Class

FileUriUnique
Supports validating file URIs.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

public $caseSensitive = TRUE;

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