forked from drupal-media/entity_browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
entity_browser.services.yml
34 lines (34 loc) · 1.56 KB
/
entity_browser.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
services:
plugin.manager.entity_browser.display:
class: Drupal\entity_browser\DisplayManager
parent: default_plugin_manager
plugin.manager.entity_browser.selection_display:
class: Drupal\entity_browser\SelectionDisplayManager
parent: default_plugin_manager
plugin.manager.entity_browser.widget:
class: Drupal\entity_browser\WidgetManager
parent: default_plugin_manager
plugin.manager.entity_browser.widget_selector:
class: Drupal\entity_browser\WidgetSelectorManager
parent: default_plugin_manager
plugin.manager.entity_browser.field_widget_display:
class: Drupal\entity_browser\FieldWidgetDisplayManager
parent: default_plugin_manager
plugin.manager.entity_browser.widget_validation:
class: Drupal\entity_browser\WidgetValidationManager
parent: default_plugin_manager
entity_browser.route_subscriber:
class: Drupal\entity_browser\RouteSubscriber
arguments: ['@entity.manager', '@plugin.manager.entity_browser.display', '@entity.query']
entity_browser.ctools_fallback_route_enhancer:
class: Drupal\entity_browser\Routing\CtoolsFallbackRouteEnhancer
arguments: ['@module_handler']
tags:
- { name: route_enhancer }
entity_browser.selection_storage:
# Symfony will complain if the class is not defined. However, it seems that
# it doesn't use it at all. Interface is not the best thing to set here, but
# it seems the best option at the end of the day.
class: Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface
factory: keyvalue.expirable:get
arguments: ['entity_browser']