data_types.libraries.yml

Same filename and directory in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Asset/library_test_files/data_types.libraries.yml
  2. 10 core/tests/Drupal/Tests/Core/Asset/library_test_files/data_types.libraries.yml
  3. 9 core/tests/Drupal/Tests/Core/Asset/library_test_files/data_types.libraries.yml
  4. 8.9.x core/tests/Drupal/Tests/Core/Asset/library_test_files/data_types.libraries.yml
core/tests/Drupal/Tests/Core/Asset/library_test_files/data_types.libraries.yml

File

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

View source
  1. example:
  2. css:
  3. theme:
  4. # External URL.
  5. 'http://example.com/test.css':
  6. type: external
  7. # Absolute path.
  8. /tmp/test.css: {}
  9. # Protocol free.
  10. //cdn.com/test.css: {}
  11. # Stream wrapper URI.
  12. 'public://test.css': {}
  13. 'example://test2.css': {}

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