You are here

public function AccountInterface::getEmail in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/Session/AccountInterface.php \Drupal\Core\Session\AccountInterface::getEmail()

Returns the email address of this account.

Return value

string The email address.

1 method overrides AccountInterface::getEmail()
Account::getEmail in src/Session/Account.php
Returns the email address of this account.

File

lib/Drupal/Core/Session/AccountInterface.php, line 132
Contains \Drupal\Core\Session\AccountInterface.

Class

AccountInterface
Defines an account interface which represents the current user.

Namespace

Drupal\Core\Session

Code

public function getEmail();