You are here

public function UserInterface::getPassword in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::getPassword()

Returns the hashed password.

Return value

string The hashed password.

1 method overrides UserInterface::getPassword()
User::getPassword in core/modules/user/src/Entity/User.php
Returns the hashed password.

File

core/modules/user/src/UserInterface.php, line 97

Class

UserInterface
Provides an interface defining a user entity.

Namespace

Drupal\user

Code

public function getPassword();