You are here

public function SharedEmailUnique::validatedBy in Shared Email 8.2

Overrides UniqueFieldConstraint::validatedBy

File

src/Plugin/Validation/Constraint/SharedEmailUnique.php, line 20

Class

SharedEmailUnique
Checks if a user's email address should and is unique on the site.

Namespace

Drupal\sharedemail\Plugin\Validation\Constraint

Code

public function validatedBy() {
  return SharedEmailUniqueValidator::class;
}