ShortcutLazyBuilders
class ShortcutLazyBuilders implements TrustedCallbackInterface (View source)
Lazy builders for the shortcut module.
Properties
| protected RendererInterface | $renderer | The renderer service. |
Methods
static string[]
trustedCallbacks()
Lists the trusted callbacks provided by the implementing class.
array
lazyLinks()
lazy_builder callback; builds shortcut toolbar links.
Details
__construct(RendererInterface $renderer)
Constructs a new ShortcutLazyBuilders object.
static string[]
trustedCallbacks()
Lists the trusted callbacks provided by the implementing class.
Trusted callbacks are public methods on the implementing class and can be invoked via \Drupal\Core\Security\DoTrustedCallbackTrait::doTrustedCallback().