forked from discoverygarden/dgi_image_discovery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdgi_image_discovery.services.yml
38 lines (38 loc) · 1.48 KB
/
dgi_image_discovery.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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
services:
dgi_image_discovery.views_field_subscriber:
class: '\Drupal\dgi_image_discovery\EventSubscriber\ViewsFieldSubscriber'
tags:
- name: event_subscriber
dgi_image_discovery.service:
class: '\Drupal\dgi_image_discovery\ImageDiscovery'
arguments:
- '@event_dispatcher'
dgi_image_discovery.discover_child_subscriber:
class: '\Drupal\dgi_image_discovery\EventSubscriber\DiscoverChildThumbnailSubscriber'
arguments:
- '@dgi_image_discovery.service'
- '@entity_type.manager'
tags:
- name: event_subscriber
dgi_image_discovery.discover_owned_subscriber:
class: '\Drupal\dgi_image_discovery\EventSubscriber\DiscoverOwnedThumbnailSubscriber'
arguments:
- '@entity_type.manager'
tags:
- name: event_subscriber
dgi_image_discovery.discover_representative_subscriber:
class: '\Drupal\dgi_image_discovery\EventSubscriber\DiscoverRepresentativeImageSubscriber'
tags:
- name: event_subscriber
dgi_image_discovery.deferred_resolution_controller:
class: '\Drupal\dgi_image_discovery\Controller\DeferredResolutionController'
factory: [null, 'create']
arguments:
- '@service_container'
plugin.manager.dgi_image_discovery.url_generator:
class: Drupal\dgi_image_discovery\UrlGeneratorPluginManager
parent: default_plugin_manager
plugin.manager.dgi_image_discovery.url_generator.deferred:
class: Drupal\dgi_image_discovery\DeferredResolutionPluginManager
parent: default_plugin_manager