function FileUriUnique::validatedBy

Returns the name of the class that validates this constraint.

Return value

string

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.