You are here

entity_browser.services.yml in Entity Browser 8

Same filename and directory in other branches
  1. 8.2 entity_browser.services.yml

File

entity_browser.services.yml
View source
  1. services:
  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_type.manager', '@plugin.manager.entity_browser.display']
  23. entity_browser.selection_storage:
  24. # Symfony will complain if the class is not defined. However, it seems that
  25. # it doesn't use it at all. Interface is not the best thing to set here, but
  26. # it seems the best option at the end of the day.
  27. class: Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface
  28. factory: keyvalue.expirable:get
  29. arguments: ['entity_browser']