public UserInterface::setPassword($password)
Sets the user password.
Parameters
string $password: The new unhashed password.
Return value
\Drupal\user\UserInterface The called user entity.
File
- core/modules/user/src/UserInterface.php, line 71
Class
- UserInterface
- Provides an interface defining a user entity.
Namespace
Drupal\user
Code
1 | public function setPassword( $password ); |
Please login to continue.