licenses.libraries.yml

Same filename in other branches
  1. 9 core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses.libraries.yml
  2. 8.9.x core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses.libraries.yml
  3. 10 core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses.libraries.yml
core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses.libraries.yml

File

core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses.libraries.yml

View source
  1. # No license information: should default to GPL 2.0 or later..
  2. no-license-info:
  3. version: 1.0
  4. js:
  5. no-license-info.js: {}
  6. css:
  7. base:
  8. no-license-info.css: {}
  9. # A library with all assets licensed under the GPL-compatible GPL 2 license.
  10. gpl2:
  11. version: 1.0
  12. license:
  13. name: gpl2
  14. url: https://url-to-gpl2-license
  15. gpl-compatible: true
  16. js:
  17. gpl2.js: {}
  18. css:
  19. base:
  20. gpl2.css: {}
  21. # A library with all assets licensed under the GPL-compatible MIT license.
  22. mit:
  23. version: 1.0
  24. license:
  25. name: MIT
  26. url: https://url-to-mit-license
  27. gpl-compatible: true
  28. js:
  29. mit.js: {}
  30. css:
  31. base:
  32. mit.css: {}
  33. # A library with all assets licensed under the GPL-compatible Public Domain.
  34. public-domain:
  35. version: 1.0
  36. license:
  37. name: Public Domain
  38. url: https://url-to-public-domain-license
  39. gpl-compatible: true
  40. js:
  41. public-domain.js: {}
  42. css:
  43. base:
  44. public-domain.css: {}
  45. # A library with all assets licensed under the GPL-incompatible Apache license.
  46. apache:
  47. version: 1.0
  48. license:
  49. name: apache
  50. url: https://url-to-apache-license
  51. gpl-compatible: false
  52. js:
  53. apache.js: {}
  54. css:
  55. base:
  56. apache.css: {}
  57. # A library with all assets licensed under the GPL-incompatible copyright.
  58. copyright:
  59. version: 1.0
  60. license:
  61. name: © Some company
  62. gpl-compatible: false
  63. js:
  64. copyright.js: {}
  65. css:
  66. base:
  67. copyright.css: {}

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