Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
Unique.php
Unique::$message
Type:
message
File
vendor/
symfony/
validator/
Constraints/
Unique.php
, line 34
Class
Unique
Validates that all the elements of the given collection are unique.
Namespace
Symfony\Component\Validator\Constraints
Code
public string $message =
'This collection should contain only unique elements.'
;
RSS feed