function UserLoginForm::__construct

Same name and namespace in other branches
  1. 11.x core/modules/user/src/Form/UserLoginForm.php \Drupal\user\Form\UserLoginForm::__construct()
  2. 10 core/modules/user/src/Form/UserLoginForm.php \Drupal\user\Form\UserLoginForm::__construct()
  3. 9 core/modules/user/src/Form/UserLoginForm.php \Drupal\user\Form\UserLoginForm::__construct()
  4. 8.9.x core/modules/user/src/Form/UserLoginForm.php \Drupal\user\Form\UserLoginForm::__construct()

File

core/modules/user/src/Form/UserLoginForm.php, line 75

Class

UserLoginForm
Provides a user login form.

Namespace

Drupal\user\Form

Code

public function __construct(UserFloodControlInterface $user_flood_control, UserStorageInterface $user_storage, UserAuthenticationInterface $user_auth, RendererInterface $renderer, BareHtmlPageRendererInterface $bare_html_renderer, protected LoginFinalizer $loginFinalizer) {
  $this->userFloodControl = $user_flood_control;
  $this->userStorage = $user_storage;
  $this->userAuth = $user_auth;
  $this->renderer = $renderer;
  $this->bareHtmlPageRenderer = $bare_html_renderer;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.