contextual.libraries.yml

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

File

core/modules/contextual/contextual.libraries.yml

View source
  1. drupal.contextual-links:
  2. version: VERSION
  3. js:
  4. # Ensure to run before contextual/drupal.context-toolbar.
  5. # Core.
  6. js/contextual.js: { weight: -2 }
  7. # Models.
  8. js/models/StateModel.js: { weight: -2 }
  9. # Views.
  10. js/views/AuralView.js: { weight: -2 }
  11. js/views/KeyboardView.js: { weight: -2 }
  12. js/views/RegionView.js: { weight: -2 }
  13. js/views/VisualView.js: { weight: -2 }
  14. css:
  15. component:
  16. css/contextual.module.css: {}
  17. theme:
  18. css/contextual.theme.css: {}
  19. css/contextual.icons.theme.css: {}
  20. dependencies:
  21. - core/jquery
  22. - core/drupal
  23. - core/drupal.ajax
  24. - core/drupalSettings
  25. # @todo Remove this in https://www.drupal.org/project/drupal/issues/3203920
  26. - core/internal.backbone
  27. - core/once
  28. - core/jquery.once.bc
  29. - core/drupal.touchevents-test
  30. drupal.contextual-toolbar:
  31. version: VERSION
  32. js:
  33. js/contextual.toolbar.js: {}
  34. # Models.
  35. js/toolbar/models/StateModel.js: {}
  36. # Views.
  37. js/toolbar/views/AuralView.js: {}
  38. js/toolbar/views/VisualView.js: {}
  39. css:
  40. component:
  41. css/contextual.toolbar.css: {}
  42. dependencies:
  43. - core/jquery
  44. - core/drupal
  45. # @todo Remove this in https://www.drupal.org/project/drupal/issues/3203920
  46. - core/internal.backbone
  47. - core/once
  48. - core/jquery.once.bc
  49. - core/drupal.tabbingmanager
  50. - core/drupal.announce

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