AccountProxy::getEmail

public AccountProxy::getEmail()

Returns the email address of this account.

Return value

string The email address.

Overrides AccountInterface::getEmail

File

core/lib/Drupal/Core/Session/AccountProxy.php, line 137

Class

AccountProxy
A proxied implementation of AccountInterface.

Namespace

Drupal\Core\Session

Code

public function getEmail() {
  return $this->getAccount()->getEmail();
}
doc_Drupal
2016-10-29 08:42:49
Comments
Leave a Comment

Please login to continue.