-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprintable.services.yml
23 lines (23 loc) · 1.01 KB
/
printable.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
services:
printable.entity_manager:
class: Drupal\printable\PrintableEntityManager
arguments: ['@entity.manager', '@config.factory', '@url_generator', '@printable.format_plugin_manager']
printable.link_builder:
class: Drupal\printable\PrintableLinkBuilder
arguments: ['@config.factory', '@printable.format_plugin_manager']
printable.css_include:
class: Drupal\printable\PrintableCssInclude
arguments: ['@config.factory', '@theme_handler']
printable.subscriber.route:
class: Drupal\printable\Routing\RouteSubscriber
arguments: ['@printable.entity_manager']
tags:
- { name: event_subscriber }
printable.format_plugin_manager:
class: Drupal\printable\PrintableFormatPluginManager
arguments: ['@container.namespaces', '@config.factory', '@module_handler']
printable.dom_crawler:
class: Wa72\HtmlPageDom\HtmlPageCrawler
printable.link_extractor:
class: Drupal\printable\LinkExtractor\InlineLinkExtractor
arguments: ['@printable.dom_crawler', '@url_generator']