2 plugin.manager.entity_browser.display:
3 class: Drupal\entity_browser\DisplayManager
4 parent: default_plugin_manager
5 plugin.manager.entity_browser.selection_display:
6 class: Drupal\entity_browser\SelectionDisplayManager
7 parent: default_plugin_manager
8 plugin.manager.entity_browser.widget:
9 class: Drupal\entity_browser\WidgetManager
10 parent: default_plugin_manager
11 plugin.manager.entity_browser.widget_selector:
12 class: Drupal\entity_browser\WidgetSelectorManager
13 parent: default_plugin_manager
14 plugin.manager.entity_browser.field_widget_display:
15 class: Drupal\entity_browser\FieldWidgetDisplayManager
16 parent: default_plugin_manager
17 plugin.manager.entity_browser.widget_validation:
18 class: Drupal\entity_browser\WidgetValidationManager
19 parent: default_plugin_manager
20 entity_browser.route_subscriber:
21 class: Drupal\entity_browser\RouteSubscriber
22 arguments: ['@entity.manager', '@plugin.manager.entity_browser.display', '@entity.query']
23 entity_browser.ctools_fallback_route_enhancer:
24 class: Drupal\entity_browser\Routing\CtoolsFallbackRouteEnhancer
25 arguments: ['@module_handler']
27 - { name: route_enhancer }
28 entity_browser.selection_storage:
29 # Symfony will complain if the class is not defined. However, it seems that
30 # it doesn't use it at all. Interface is not the best thing to set here, but
31 # it seems the best option at the end of the day.
32 class: Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface
33 factory: keyvalue.expirable:get
34 arguments: ['entity_browser']