ajax_test.libraries.yml in Drupal 10
Same filename and directory in other branches
core/modules/system/tests/modules/ajax_test/ajax_test.libraries.yml
File
core/modules/system/tests/modules/ajax_test/ajax_test.libraries.ymlView 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: {}
-
- focus.first:
- js:
- js/focus-ajax.js: {}
- dependencies:
- - core/drupal
- - core/once
-
- command_promise:
- version: VERSION
- js:
- js/command_promise-ajax.js: {}
- dependencies:
- - core/jquery
- - core/drupal
- - core/drupal.ajax