function FileUriUnique::validatedBy

Same name in other branches
  1. 9 core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php \Drupal\file\Plugin\Validation\Constraint\FileUriUnique::validatedBy()
  2. 8.9.x core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php \Drupal\file\Plugin\Validation\Constraint\FileUriUnique::validatedBy()
  3. 11.x core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php \Drupal\file\Plugin\Validation\Constraint\FileUriUnique::validatedBy()

Overrides UniqueFieldConstraint::validatedBy

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 function validatedBy() : string {
    return UniqueFieldValueValidator::class;
}

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