Skip to content

Drupal\helper\Plugin\Validation\Constraint\FieldListUniqueValues

Checks if a field has duplicate values.

Extend:

Symfony\Component\Validator\Constraint

Methods

Name Description

Inherited methods

Name Description
__construct Initializes the constraint with options.
__get Returns the value of a lazily initialized option.
__isset -
__serialize Optimizes the serialized value to minimize storage space.
__set Sets the value of a lazily initialized option.
addImplicitGroupName Adds the given group if this constraint is in the Default group.
getDefaultOption Returns the name of the default option.
getErrorName Returns the name of the given error code.
getRequiredOptions Returns the name of the required options.
getTargets Returns whether the constraint can be put onto classes, properties or
both.
validatedBy Returns the name of the class that validates this constraint.