toolbar.libraries.yml

Same filename in other branches
  1. 8.9.x core/modules/toolbar/toolbar.libraries.yml
  2. 10 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/modernizr
  22. # Toolbar does not use touchevents detection, nor does it use Modernizr.
  23. # Despite not using Modernizr, it loads it. Sites that expect modernizr to
  24. # be available may be getting it due to it being part of Toolbar. Because
  25. # of this, we must include drupal.touchevents-test so the expected
  26. # `touchevents/no-touchevents` classes are still added to the page.
  27. - core/drupal.touchevents-test
  28. - core/jquery
  29. - core/drupal
  30. - core/drupalSettings
  31. - core/drupal.ajax
  32. - core/drupal.announce
  33. # @todo Remove this in https://www.drupal.org/project/drupal/issues/3204015
  34. - core/internal.backbone
  35. - core/once
  36. - core/jquery.once.bc
  37. - core/drupal.displace
  38. - toolbar/toolbar.menu
  39. toolbar.menu:
  40. version: VERSION
  41. js:
  42. js/toolbar.menu.js: {}
  43. css:
  44. state:
  45. css/toolbar.menu.css: {}
  46. dependencies:
  47. - core/jquery
  48. - core/drupal
  49. - core/once
  50. - core/jquery.once.bc
  51. toolbar.escapeAdmin:
  52. version: VERSION
  53. js:
  54. js/escapeAdmin.js: {}
  55. dependencies:
  56. - core/jquery
  57. - core/drupal
  58. - core/drupalSettings
  59. - core/once
  60. - core/jquery.once.bc

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