FileUriUnique::$message

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

Type: message

Overrides UniqueFieldConstraint::$message

File

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

Class

FileUriUnique
Supports validating file URIs.

Namespace

Drupal\file\Plugin\Validation\Constraint

Code

public $message = 'The file %value already exists. Enter a unique file URI.';

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