public User::getInitialEmail()
Returns the email that was used when the user was registered.
Return value
string Initial email address of the user.
Overrides UserInterface::getInitialEmail
File
- core/modules/user/src/Entity/User.php, line 339
Class
- User
- Defines the user entity class.
Namespace
Drupal\user\Entity
Code
1 2 3 | public function getInitialEmail() { return $this ->get( 'init' )->value; } |
Please login to continue.