public function EmailHandlerInterface::duplicateExists in Easy Email 2.0.x
Same name and namespace in other branches
- 8 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
Namespace
Drupal\easy_email\ServiceCode
public function duplicateExists(EasyEmailInterface $email);