big-pipe-interface-preview--navigation-shortcut-lazy-builder-lazyLinks--Shortcuts.html.twig

Same filename in other branches
  1. 11.x core/modules/navigation/templates/big-pipe-interface-preview--navigation-shortcut-lazy-builder-lazyLinks--Shortcuts.html.twig

Placeholder content for the shortcuts menu. This is used to eliminate layout shifts as BigPipe injects data.

File

core/modules/navigation/templates/big-pipe-interface-preview--navigation-shortcut-lazy-builder-lazyLinks--Shortcuts.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Placeholder content for the shortcuts menu. This is used to eliminate layout
  5. * shifts as BigPipe injects data.
  6. */
  7. #}
  8. {% include 'navigation:toolbar-button' with {
  9. attributes: create_attribute(),
  10. modifiers: [
  11. 'expand--side',
  12. 'collapsible',
  13. ],
  14. extra_classes: [
  15. 'invisible',
  16. 'toolbar-popover__control',
  17. ],
  18. icon: 'shortcuts',
  19. text: 'Shortcuts'|t,
  20. } only %}

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