You are here

public function EmailConfirmationInterface::cancel in Email confirmer 8

Cancel the email confirmation.

Throws

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

1 method overrides EmailConfirmationInterface::cancel()
EmailConfirmation::cancel in src/Entity/EmailConfirmation.php
Cancel the email confirmation.

File

src/EmailConfirmationInterface.php, line 167

Class

EmailConfirmationInterface
Email confirmation interface.

Namespace

Drupal\email_confirmer

Code

public function cancel();