UserAuthenticationController::userIsBlocked

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);
}
doc_Drupal
2016-10-29 09:52:18
Comments
Leave a Comment

Please login to continue.