contextual.libraries.yml 1.1 KB
Newer Older
1 2 3 4 5
drupal.contextual-links:
  version: VERSION
  js:
    # Ensure to run before contextual/drupal.context-toolbar.
    # Core.
6
    js/contextual.js: { weight: -2 }
7
    # Models.
8
    js/models/StateModel.js: { weight: -2 }
9
    # Views.
10 11 12 13
    js/views/AuralView.js: { weight: -2 }
    js/views/KeyboardView.js: { weight: -2 }
    js/views/RegionView.js: { weight: -2 }
    js/views/VisualView.js: { weight: -2 }
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
  css:
    component:
      css/contextual.module.css: {}
    theme:
      css/contextual.theme.css: {}
      css/contextual.icons.css: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/drupalSettings
    - core/backbone
    - core/modernizr
    - core/jquery.once

drupal.contextual-toolbar:
  version: VERSION
  js:
    js/contextual.toolbar.js: {}
32 33 34 35 36
    # Models.
    js/toolbar/models/StateModel.js: {}
    # Views.
    js/toolbar/views/AuralView.js: {}
    js/toolbar/views/VisualView.js: {}
37 38 39 40 41 42 43 44 45 46
  css:
    component:
      css/contextual.toolbar.css: {}
  dependencies:
    - core/jquery
    - core/drupal
    - core/backbone
    - core/jquery.once
    - core/drupal.tabbingmanager
    - core/drupal.announce