ajax_test.libraries.yml

Same filename in other branches
  1. 9 core/modules/system/tests/modules/ajax_test/ajax_test.libraries.yml
  2. 8.9.x core/modules/system/tests/modules/ajax_test/ajax_test.libraries.yml
  3. 10 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: {}
  26. focus.first:
  27. js:
  28. js/focus-ajax.js: {}
  29. dependencies:
  30. - core/drupal
  31. - core/once
  32. command_promise:
  33. version: VERSION
  34. js:
  35. js/command_promise-ajax.js: {}
  36. dependencies:
  37. - core/jquery
  38. - core/drupal
  39. - core/drupal.ajax
  40. global_events:
  41. js:
  42. js/global_events.js: {}
  43. dependencies:
  44. - core/drupal.ajax

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