You are here

public function EmailConfirmation::isRequestSent in Email confirmer 8

Returns if the confirmation request was sent.

Return value

bool TRUE if the confirmation request was sent, FALSE otherwise.

Overrides EmailConfirmationInterface::isRequestSent

1 call to EmailConfirmation::isRequestSent()
EmailConfirmation::sendRequest in src/Entity/EmailConfirmation.php
Sends the email confirmation request.

File

src/Entity/EmailConfirmation.php, line 204

Class

EmailConfirmation
Defines the email confirmation entity class.

Namespace

Drupal\email_confirmer\Entity

Code

public function isRequestSent() {
  return !$this
    ->get('sent')
    ->isEmpty();
}