function AccountSettingsForm::__construct

Same name and namespace in other branches
  1. 11.x core/modules/user/src/AccountSettingsForm.php \Drupal\user\AccountSettingsForm::__construct()
  2. 10 core/modules/user/src/AccountSettingsForm.php \Drupal\user\AccountSettingsForm::__construct()
  3. 9 core/modules/user/src/AccountSettingsForm.php \Drupal\user\AccountSettingsForm::__construct()
  4. 8.9.x core/modules/user/src/AccountSettingsForm.php \Drupal\user\AccountSettingsForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The typed config manager.

Overrides ConfigFormBase::__construct

File

core/modules/user/src/AccountSettingsForm.php, line 20

Class

AccountSettingsForm
Configure user settings for this site.

Namespace

Drupal\user

Code

public function __construct(ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typedConfigManager, protected RoleStorageInterface $roleStorage, protected AccountCancellation $accountCancellation) {
  parent::__construct($config_factory, $typedConfigManager);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.