function AccountForm::trustedCallbacks

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

Overrides TrustedCallbackInterface::trustedCallbacks

File

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

Class

AccountForm
Form controller for the user account forms.

Namespace

Drupal\user

Code

public static function trustedCallbacks() {
    return [
        'alterPreferredLangcodeDescription',
    ];
}

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