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. 10 core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php \Drupal\file\Plugin\Validation\Constraint\FileUriUnique::validatedBy()

File

core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php, line 23

Class

FileUriUnique
Supports validating file URIs.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

public function validatedBy() : string {
    return '\\Drupal\\Core\\Validation\\Plugin\\Validation\\Constraint\\UniqueFieldValueValidator';
}

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