function AccountForm::getEditedFieldNames

Same name in other branches
  1. 9 core/modules/user/src/AccountForm.php \Drupal\user\AccountForm::getEditedFieldNames()
  2. 8.9.x core/modules/user/src/AccountForm.php \Drupal\user\AccountForm::getEditedFieldNames()
  3. 10 core/modules/user/src/AccountForm.php \Drupal\user\AccountForm::getEditedFieldNames()

Overrides ContentEntityForm::getEditedFieldNames

File

core/modules/user/src/AccountForm.php, line 396

Class

AccountForm
Form controller for the user account forms.

Namespace

Drupal\user

Code

protected function getEditedFieldNames(FormStateInterface $form_state) {
    return array_merge([
        'name',
        'pass',
        'mail',
        'timezone',
        'langcode',
        'preferred_langcode',
        'preferred_admin_langcode',
    ], parent::getEditedFieldNames($form_state));
}

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