You are here

public static function ToolbarLinkBuilder::trustedCallbacks in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/ToolbarLinkBuilder.php \Drupal\user\ToolbarLinkBuilder::trustedCallbacks()
  2. 9 core/modules/user/src/ToolbarLinkBuilder.php \Drupal\user\ToolbarLinkBuilder::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',
  ];
}