ajax_test.libraries.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/ajax_test/ajax_test.libraries.yml
  2. 10 core/modules/system/tests/modules/ajax_test/ajax_test.libraries.yml
  3. 11.x core/modules/system/tests/modules/ajax_test/ajax_test.libraries.yml
core/modules/system/tests/modules/ajax_test/ajax_test.libraries.yml

File

core/modules/system/tests/modules/ajax_test/ajax_test.libraries.yml

View source
  1. ajax_insert:
  2. js:
  3. js/insert-ajax.js: {}
  4. dependencies:
  5. - core/drupal.ajax
  6. order:
  7. drupalSettings:
  8. ajax: test
  9. dependencies:
  10. - ajax_test/order-css-command
  11. - ajax_test/order-footer-js-command
  12. - ajax_test/order-header-js-command
  13. order-css-command:
  14. css:
  15. theme:
  16. # Two CSS files (order should remain the same).
  17. a.css: {}
  18. b.css: {}
  19. order-footer-js-command:
  20. js:
  21. footer.js: {}
  22. order-header-js-command:
  23. header: true
  24. js:
  25. header.js: {}

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