function UserInterface::getInitialEmail
Same name in other branches
- 9 core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::getInitialEmail()
- 8.9.x core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::getInitialEmail()
- 11.x core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::getInitialEmail()
Returns the email that was used when the user was registered.
Return value
string Initial email address of the user.
1 method overrides UserInterface::getInitialEmail()
- User::getInitialEmail in core/
modules/ user/ src/ Entity/ User.php - Returns the email that was used when the user was registered.
File
-
core/
modules/ user/ src/ UserInterface.php, line 204
Class
- UserInterface
- Provides an interface defining a user entity.
Namespace
Drupal\userCode
public function getInitialEmail();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.