You are here

public function FileUriUnique::validatedBy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php \Drupal\file\Plugin\Validation\Constraint\FileUriUnique::validatedBy()

Returns the name of the class that validates this constraint.

By default, this is the fully qualified name of the constraint class suffixed with "Validator". You can override this method to change that behaviour.

Return value

string

Overrides Constraint::validatedBy

File

core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php, line 27
Contains \Drupal\file\Plugin\Validation\Constraint\FileUriUnique.

Class

FileUriUnique
Supports validating file URIs.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

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