toolbar.libraries.yml

Same filename in other branches
  1. 9 core/modules/toolbar/toolbar.libraries.yml
  2. 8.9.x core/modules/toolbar/toolbar.libraries.yml
  3. 11.x core/modules/toolbar/toolbar.libraries.yml
core/modules/toolbar/toolbar.libraries.yml

File

core/modules/toolbar/toolbar.libraries.yml

View source
  1. toolbar:
  2. version: VERSION
  3. js:
  4. # Core.
  5. js/toolbar.js: {}
  6. # Models.
  7. js/models/MenuModel.js: {}
  8. js/models/ToolbarModel.js: {}
  9. # Views.
  10. js/views/BodyVisualView.js: {}
  11. js/views/MenuVisualView.js: {}
  12. js/views/ToolbarAuralView.js: {}
  13. js/views/ToolbarVisualView.js: {}
  14. css:
  15. component:
  16. css/toolbar.module.css: {}
  17. theme:
  18. css/toolbar.theme.css: {}
  19. css/toolbar.icons.theme.css: {}
  20. dependencies:
  21. - core/jquery
  22. - core/drupal
  23. - core/drupalSettings
  24. - core/drupal.ajax
  25. - core/drupal.announce
  26. # @todo Remove this in https://www.drupal.org/project/drupal/issues/3204015
  27. - core/internal.backbone
  28. - core/once
  29. - core/drupal.displace
  30. - toolbar/toolbar.menu
  31. - toolbar/toolbar.anti-flicker
  32. toolbar.menu:
  33. version: VERSION
  34. js:
  35. js/toolbar.menu.js: {}
  36. css:
  37. state:
  38. css/toolbar.menu.css: {}
  39. dependencies:
  40. - core/jquery
  41. - core/drupal
  42. - core/once
  43. toolbar.escapeAdmin:
  44. version: VERSION
  45. js:
  46. js/escapeAdmin.js: {}
  47. dependencies:
  48. - core/jquery
  49. - core/drupal
  50. - core/drupalSettings
  51. - core/once
  52. toolbar.anti-flicker:
  53. # Block the page from being loaded until anti-flicker is initialized.
  54. version: VERSION
  55. header: true
  56. js:
  57. js/toolbar.anti-flicker.js: {}

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