function AccountSettingsForm::create
Same name in other branches
- 8.9.x 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
3 calls to AccountSettingsForm::create()
- MigrateUserConfigsTest::testUserMail in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserConfigsTest.php - Tests migration of user variables to user.mail.yml.
- MigrateUserSettingsTest::testMigration in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserSettingsTest.php - Tests the migration.
- 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.