public function UserInterface::getInitialEmail in Drupal 9
Same name and namespace in other branches
- 8 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 197
Class
- UserInterface
- Provides an interface defining a user entity.
Namespace
Drupal\userCode
public function getInitialEmail();