You are here

public function EmailConfirmationInterface::sendRequest in Email confirmer 8

Sends the email confirmation request.

Confirmation must be not expired, cancelled or confirmed. More than one request can be sent, but some delivery limitations are applied. See docs for details.

Return value

bool TRUE if request was successfully sent, FALSE on sending error.

Throws

\Drupal\email_confirmer\InvalidConfirmationStateException If confirmation is cancelled, expired or already confirmed.

1 method overrides EmailConfirmationInterface::sendRequest()
EmailConfirmation::sendRequest in src/Entity/EmailConfirmation.php
Sends the email confirmation request.

File

src/EmailConfirmationInterface.php, line 144

Class

EmailConfirmationInterface
Email confirmation interface.

Namespace

Drupal\email_confirmer

Code

public function sendRequest();