function AccountForm::create
Same name in other branches
- 9 core/modules/user/src/AccountForm.php \Drupal\user\AccountForm::create()
- 8.9.x core/modules/user/src/AccountForm.php \Drupal\user\AccountForm::create()
- 11.x core/modules/user/src/AccountForm.php \Drupal\user\AccountForm::create()
Overrides ContentEntityForm::create
File
-
core/
modules/ user/ src/ AccountForm.php, line 55
Class
- AccountForm
- Form controller for the user account forms.
Namespace
Drupal\userCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity.repository'), $container->get('language_manager'), $container->get('entity_type.bundle.info'), $container->get('datetime.time'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.