protected UserAuthenticationController::userIsBlocked($name)
Verifies if the user is blocked.
Parameters
string $name: The username.
Return value
bool TRUE if the user is blocked, otherwise FALSE.
File
- core/modules/user/src/Controller/UserAuthenticationController.php, line 219
Class
- UserAuthenticationController
- Provides controllers for login, login status and logout via HTTP requests.
Namespace
Drupal\user\Controller
Code
protected function userIsBlocked($name) { return user_is_blocked($name); }
Please login to continue.