forked from openeuropa/oe_list_pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oe_list_pages.services.yml
30 lines (30 loc) · 1.98 KB
/
oe_list_pages.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
services:
oe_list_pages.list_facet_manager_wrapper:
class: Drupal\oe_list_pages\ListFacetManagerWrapper
arguments: ['@facets.manager']
oe_list_pages.list_source.factory:
class: Drupal\oe_list_pages\ListSourceFactory
arguments: ['@oe_list_pages.list_facet_manager_wrapper', '@entity_type.manager']
oe_list_pages.query_event_subscriber:
class: Drupal\oe_list_pages\EventSubscriber\QuerySubscriber
arguments: ['@oe_list_pages.list_facet_manager_wrapper', '@plugin.manager.facets.query_type', '@plugin.manager.facets.facet_source']
tags:
- { name: event_subscriber }
oe_list_pages.execution_manager:
class: Drupal\oe_list_pages\ListExecutionManager
arguments: ['@oe_list_pages.list_source.factory', '@entity_type.manager', '@request_stack', '@language_manager']
oe_list_pages.builder:
class: Drupal\oe_list_pages\ListBuilder
arguments: ['@oe_list_pages.execution_manager', '@entity_type.manager', '@pager.manager', '@entity.repository', '@form_builder', '@facets.utility.url_generator', '@plugin.manager.facets.processor', '@request_stack', '@plugin.manager.facets.url_processor', '@plugin.manager.multiselect_filter_field', '@oe_list_pages.list_source.factory']
oe_list_pages.preset_filters_builder:
class: Drupal\oe_list_pages\DefaultFilterConfigurationBuilder
arguments: ['@oe_list_pages.list_facet_manager_wrapper']
oe_list_pages.list_page_configuration_subform_factory:
class: Drupal\oe_list_pages\Form\ListPageConfigurationSubformFactory
arguments: ['@entity_type.manager', '@entity_type.bundle.info', '@event_dispatcher', '@oe_list_pages.list_source.factory', '@oe_list_pages.preset_filters_builder', '@oe_list_pages.sort_options_resolver']
plugin.manager.multiselect_filter_field:
class: Drupal\oe_list_pages\MultiselectFilterFieldPluginManager
parent: default_plugin_manager
oe_list_pages.sort_options_resolver:
class: Drupal\oe_list_pages\ListPageSortOptionsResolver
arguments: ['@entity_type.manager', '@event_dispatcher']