public function EmailConfirmationInterface::confirm in Email confirmer 8
Process the email confirmation.
Parameters
string $hash: The received hash.
Return value
bool TRUE if confirmation was successfully processed, FALSE on mistmach hash.
Throws
\Drupal\email_confirmer\InvalidConfirmationStateException If confirmation is cancelled, expired or already confirmed.
1 method overrides EmailConfirmationInterface::confirm()
- EmailConfirmation::confirm in src/
Entity/ EmailConfirmation.php - Process the email confirmation.
File
- src/
EmailConfirmationInterface.php, line 159
Class
- EmailConfirmationInterface
- Email confirmation interface.
Namespace
Drupal\email_confirmerCode
public function confirm($hash);