ajax_test.libraries.yml
Same filename in other branches
File
-
core/
modules/ system/ tests/ modules/ ajax_test/ ajax_test.libraries.yml
View source
- ajax_insert:
- js:
- js/insert-ajax.js: {}
- dependencies:
- - core/drupal.ajax
- order:
- drupalSettings:
- ajax: test
- dependencies:
- - ajax_test/order-css-command
- - ajax_test/order-footer-js-command
- - ajax_test/order-header-js-command
-
- order-css-command:
- css:
- theme:
- # Two CSS files (order should remain the same).
- a.css: {}
- b.css: {}
-
- order-footer-js-command:
- js:
- footer.js: {}
-
- order-header-js-command:
- header: true
- js:
- header.js: {}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.