locale.libraries.yml

Same filename in other branches
  1. 9 core/modules/locale/locale.libraries.yml
  2. 8.9.x core/modules/locale/locale.libraries.yml
  3. 10 core/modules/locale/locale.libraries.yml
core/modules/locale/locale.libraries.yml

File

core/modules/locale/locale.libraries.yml

View source
  1. drupal.locale.admin:
  2. version: VERSION
  3. js:
  4. js/locale.admin.js: {}
  5. css:
  6. component:
  7. css/locale.admin.css: {}
  8. dependencies:
  9. - core/jquery
  10. - core/drupal
  11. - core/drupal.form
  12. - core/once
  13. moved_files:
  14. locale/locale.admin.js:
  15. deprecation_version: drupal:11.1.0
  16. removed_version: drupal:12.0.0
  17. deprecation_link: https://www.drupal.org/node/3471539
  18. js:
  19. locale.admin.js: 'js/locale.admin.js'
  20. translations:
  21. # No sensible version can be specified, since the translations may change at
  22. # any time.
  23. js:
  24. # This file does not actually exist; it's a placeholder file that will be
  25. # overridden by locale_js_alter(), to use the file that contains the actual
  26. # translations, for the language used in the current request.
  27. locale.translation.js: {}

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