public function EmailConfirmation::getEmail in Email confirmer 8
Returns the subscribers email address.
Return value
string The subscribers email address.
Overrides EmailConfirmationInterface::getEmail
2 calls to EmailConfirmation::getEmail()
- EmailConfirmation::getHash in src/
Entity/ EmailConfirmation.php - Calculate hash for this email confirmation.
- EmailConfirmation::sendRequest in src/
Entity/ EmailConfirmation.php - Sends the email confirmation request.
File
- src/
Entity/ EmailConfirmation.php, line 320
Class
- EmailConfirmation
- Defines the email confirmation entity class.
Namespace
Drupal\email_confirmer\EntityCode
public function getEmail() {
return $this
->get('email')
->getString();
}