function AccountForm::trustedCallbacks

Same name in other branches
  1. 8.9.x 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 315

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.