You are here

protected function AccountSettingsForm::getEditableConfigNames in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/AccountSettingsForm.php \Drupal\user\AccountSettingsForm::getEditableConfigNames()
  2. 9 core/modules/user/src/AccountSettingsForm.php \Drupal\user\AccountSettingsForm::getEditableConfigNames()

Gets the configuration names that will be editable.

Return value

array An array of configuration object names that are editable if called in conjunction with the trait's config() method.

Overrides ConfigFormBaseTrait::getEditableConfigNames

File

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

Class

AccountSettingsForm
Configure user settings for this site.

Namespace

Drupal\user

Code

protected function getEditableConfigNames() {
  return [
    'system.site',
    'user.mail',
    'user.settings',
  ];
}