lib-overrides.component.yml

Same filename in this branch
  1. 10 core/modules/system/tests/themes/sdc_theme_test/components/lib-overrides/lib-overrides.component.yml
Same filename in other branches
  1. 11.x core/modules/sdc/tests/themes/sdc_theme_test/components/lib-overrides/lib-overrides.component.yml
  2. 11.x core/modules/system/tests/themes/sdc_theme_test/components/lib-overrides/lib-overrides.component.yml
core/modules/sdc/tests/themes/sdc_theme_test/components/lib-overrides/lib-overrides.component.yml

File

core/modules/sdc/tests/themes/sdc_theme_test/components/lib-overrides/lib-overrides.component.yml

View source
  1. $schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
  2. name: Lib Overrides
  3. status: stable
  4. libraryOverrides:
  5. version: 1
  6. dependencies:
  7. - core/drupal.dialog
  8. css:
  9. component:
  10. another-stylesheet.css: {}
  11. https://drupal.org/fake-dependency/styles.css: {}
  12. js:
  13. lib-overrides.js: { attributes: { defer: true, bar: foo } }
  14. https://drupal.org/fake-dependency/index.min.js: {}

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