public function UserLoginForm::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/src/Form/UserLoginForm.php \Drupal\user\Form\UserLoginForm::__construct()
Constructs a new UserLoginForm.
Parameters
\Drupal\Core\Flood\FloodInterface $flood: The flood service.
\Drupal\user\UserStorageInterface $user_storage: The user storage.
\Drupal\user\UserAuthInterface $user_auth: The user authentication object.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
- core/
modules/ user/ src/ Form/ UserLoginForm.php, line 63 - Contains \Drupal\user\Form\UserLoginForm.
Class
- UserLoginForm
- Provides a user login form.
Namespace
Drupal\user\FormCode
public function __construct(FloodInterface $flood, UserStorageInterface $user_storage, UserAuthInterface $user_auth, RendererInterface $renderer) {
$this->flood = $flood;
$this->userStorage = $user_storage;
$this->userAuth = $user_auth;
$this->renderer = $renderer;
}