function ToolbarLinkBuilder::trustedCallbacks

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

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/modules/user/src/ToolbarLinkBuilder.php, line 90

Class

ToolbarLinkBuilder
ToolbarLinkBuilder fills out the placeholders generated in user_toolbar().

Namespace

Drupal\user

Code

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

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