You are here

remote_stream_wrapper.services.yml in Remote Stream Wrapper 8

File

remote_stream_wrapper.services.yml
View source
  1. services:
  2. stream_wrapper.http:
  3. class: Drupal\remote_stream_wrapper\StreamWrapper\HttpStreamWrapper
  4. tags:
  5. - { name: stream_wrapper, scheme: http }
  6. stream_wrapper.https:
  7. class: Drupal\remote_stream_wrapper\StreamWrapper\HttpStreamWrapper
  8. tags:
  9. - { name: stream_wrapper, scheme: https }
  10. file.mime_type.guesser.http:
  11. class: Drupal\remote_stream_wrapper\File\MimeType\HttpMimeTypeGuesser
  12. arguments: ['@file_system', '@file.mime_type.guesser.extension']
  13. tags:
  14. - { name: mime_type_guesser, priority: 10 }