You are here

public function EmailHandlerInterface::duplicateExists in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Service/EmailHandlerInterface.php \Drupal\easy_email\Service\EmailHandlerInterface::duplicateExists()

Check if a duplicate for this email exists by unique key.

Parameters

\Drupal\easy_email\Entity\EasyEmailInterface $email: The email entity to check

Return value

bool TRUE if a matching email exists, FALSE otherwise.

1 method overrides EmailHandlerInterface::duplicateExists()
EmailHandler::duplicateExists in src/Service/EmailHandler.php
@inheritDoc

File

src/Service/EmailHandlerInterface.php, line 28

Class

EmailHandlerInterface

Namespace

Drupal\easy_email\Service

Code

public function duplicateExists(EasyEmailInterface $email);