You are here

printable.services.yml in Printer and PDF versions for Drupal 8+ 2.x

Same filename and directory in other branches
  1. 8 printable.services.yml

File

printable.services.yml
View source
  1. services:
  2. printable.entity_manager:
  3. class: Drupal\printable\PrintableEntityManager
  4. arguments: ['@entity_type.manager', '@config.factory', '@url_generator', '@printable.format_plugin_manager']
  5. printable.link_builder:
  6. class: Drupal\printable\PrintableLinkBuilder
  7. arguments: ['@config.factory', '@printable.format_plugin_manager']
  8. printable.css_include:
  9. class: Drupal\printable\PrintableCssInclude
  10. arguments: ['@config.factory', '@theme_handler']
  11. printable.subscriber.route:
  12. class: Drupal\printable\Routing\RouteSubscriber
  13. arguments: ['@printable.entity_manager']
  14. tags:
  15. - { name: event_subscriber }
  16. printable.format_plugin_manager:
  17. class: Drupal\printable\PrintableFormatPluginManager
  18. arguments: ['@container.namespaces', '@config.factory', '@module_handler']
  19. printable.dom_crawler:
  20. class: Wa72\HtmlPageDom\HtmlPageCrawler
  21. printable.link_extractor:
  22. class: Drupal\printable\LinkExtractor\InlineLinkExtractor
  23. arguments: ['@printable.dom_crawler', '@url_generator', '@path_alias.manager']
  24. stream_wrapper.printable:
  25. class: Drupal\printable\StreamWrapper\PrintableStream
  26. tags:
  27. - { name: stream_wrapper, scheme: printable }