public UserInterface::activate()
Activates the user.
Return value
\Drupal\user\UserInterface The called user entity.
File
- core/modules/user/src/UserInterface.php, line 144
Class
- UserInterface
- Provides an interface defining a user entity.
Namespace
Drupal\user
Code
public function activate();
Please login to continue.