public function AccountInterface::getEmail in Service Container 7
Same name and namespace in other branches
- 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\SessionCode
public function getEmail();