function AccountSettingsForm::create
Same name in other branches
- 9 core/modules/user/src/AccountSettingsForm.php \Drupal\user\AccountSettingsForm::create()
- 10 core/modules/user/src/AccountSettingsForm.php \Drupal\user\AccountSettingsForm::create()
- 11.x core/modules/user/src/AccountSettingsForm.php \Drupal\user\AccountSettingsForm::create()
Overrides ConfigFormBase::create
2 calls to AccountSettingsForm::create()
- MigrateUserConfigsTest::testUserSettings in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserConfigsTest.php - Tests migration of user variables to user.settings.yml.
- UserAdminSettingsFormTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ UserAdminSettingsFormTest.php
File
-
core/
modules/ user/ src/ AccountSettingsForm.php, line 53
Class
- AccountSettingsForm
- Configure user settings for this site.
Namespace
Drupal\userCode
public static function create(ContainerInterface $container) {
return new static($container->get('config.factory'), $container->get('module_handler'), $container->get('entity_type.manager')
->getStorage('user_role'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.