You are here

public function EmailConfirmerManagerInterface::getConfirmations in Email confirmer 8

Search for existent confirmation entities for a given email address.

Parameters

string $email: The email address.

string $status: Filter by confirmation status.

int $limit: Max results count. Defaults to no limit.

string $realm: A realm to filter by.

Return value

\Drupal\email_confirmer\EmailConfirmationInterface[] Array of confirmations found, most recent first. Empty array if none found.

1 method overrides EmailConfirmerManagerInterface::getConfirmations()
EmailConfirmerManager::getConfirmations in src/EmailConfirmerManager.php
Search for existent confirmation entities for a given email address.

File

src/EmailConfirmerManagerInterface.php, line 45

Class

EmailConfirmerManagerInterface
Email confirmation service interface.

Namespace

Drupal\email_confirmer

Code

public function getConfirmations($email, $status = FALSE, $limit = 0, $realm = '');