function UserLoginForm::create
Same name in other branches
- 9 core/modules/user/src/Form/UserLoginForm.php \Drupal\user\Form\UserLoginForm::create()
- 10 core/modules/user/src/Form/UserLoginForm.php \Drupal\user\Form\UserLoginForm::create()
- 11.x core/modules/user/src/Form/UserLoginForm.php \Drupal\user\Form\UserLoginForm::create()
Overrides FormBase::create
File
-
core/
modules/ user/ src/ Form/ UserLoginForm.php, line 72
Class
- UserLoginForm
- Provides a user login form.
Namespace
Drupal\user\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('flood'), $container->get('entity_type.manager')
->getStorage('user'), $container->get('user.auth'), $container->get('renderer'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.