contextual.libraries.yml

Same filename in other branches
  1. 9 core/modules/contextual/contextual.libraries.yml
  2. 8.9.x 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/drupal.touchevents-test
  29. drupal.contextual-toolbar:
  30. version: VERSION
  31. js:
  32. js/contextual.toolbar.js: {}
  33. # Models.
  34. js/toolbar/models/StateModel.js: {}
  35. # Views.
  36. js/toolbar/views/AuralView.js: {}
  37. js/toolbar/views/VisualView.js: {}
  38. css:
  39. component:
  40. css/contextual.toolbar.css: {}
  41. dependencies:
  42. - core/jquery
  43. - core/drupal
  44. # @todo Remove this in https://www.drupal.org/project/drupal/issues/3203920
  45. - core/internal.backbone
  46. - core/once
  47. - core/drupal.tabbingmanager
  48. - core/drupal.announce

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