contextual.libraries.yml

Same filename in other branches
  1. 9 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. - core/backbone
  26. - core/modernizr
  27. - core/jquery.once
  28. drupal.contextual-toolbar:
  29. version: VERSION
  30. js:
  31. js/contextual.toolbar.js: {}
  32. # Models.
  33. js/toolbar/models/StateModel.js: {}
  34. # Views.
  35. js/toolbar/views/AuralView.js: {}
  36. js/toolbar/views/VisualView.js: {}
  37. css:
  38. component:
  39. css/contextual.toolbar.css: {}
  40. dependencies:
  41. - core/jquery
  42. - core/drupal
  43. - core/backbone
  44. - core/jquery.once
  45. - core/drupal.tabbingmanager
  46. - core/drupal.announce

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