css_js_settings.libraries.yml

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

File

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

View source
  1. example:
  2. css:
  3. base:
  4. css/base.css: {}
  5. js:
  6. js/example.js: {}
  7. drupalSettings:
  8. key: value

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