locale.libraries.yml

Same filename in other branches
  1. 9 core/modules/locale/locale.libraries.yml
  2. 10 core/modules/locale/locale.libraries.yml
  3. 11.x 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. 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/jquery.once
  13. drupal.locale.datepicker:
  14. version: VERSION
  15. js:
  16. locale.datepicker.js: {}
  17. dependencies:
  18. - core/jquery
  19. - core/drupal
  20. - core/drupalSettings
  21. deprecated: The "%library_id%" asset library is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. See https://www.drupal.org/node/3081864
  22. translations:
  23. # No sensible version can be specified, since the translations may change at
  24. # any time.
  25. js:
  26. # This file does not actually exist; it's a placeholder file that will be
  27. # overridden by locale_js_alter(), to use the file that contains the actual
  28. # translations, for the language used in the current request.
  29. locale.translation.js: {}

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