function WorkspacesLazyBuilders::trustedCallbacks

Same name in other branches
  1. 10 core/modules/workspaces/src/WorkspacesLazyBuilders.php \Drupal\workspaces\WorkspacesLazyBuilders::trustedCallbacks()

Overrides TrustedCallbackInterface::trustedCallbacks

File

core/modules/workspaces/src/WorkspacesLazyBuilders.php, line 83

Class

WorkspacesLazyBuilders
Defines a service for workspaces #lazy_builder callbacks.

Namespace

Drupal\workspaces

Code

public static function trustedCallbacks() : array {
    return [
        'removeTabAttributes',
        'renderToolbarTab',
    ];
}

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