You are here

form_mode_manager.services.yml in Form mode manager 8

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

File

form_mode_manager.services.yml
View source
  1. services:
  2. form_mode_manager.route_subscriber:
  3. class: Drupal\form_mode_manager\Routing\EventSubscriber\FormModesSubscriber
  4. arguments: ['@entity_type.manager', '@entity_display.repository', '@form_mode.manager', '@plugin.manager.entity_routing_map']
  5. tags:
  6. - { name: event_subscriber }
  7. form_mode_manager.user_route_subscriber:
  8. class: Drupal\form_mode_manager\Routing\EventSubscriber\UserFormModesSubscriber
  9. arguments: ['@entity_type.manager', '@entity_display.repository', '@form_mode.manager', '@plugin.manager.entity_routing_map']
  10. tags:
  11. - { name: event_subscriber }
  12. form_mode_manager.default_routes_subscriber:
  13. class: Drupal\form_mode_manager\Routing\EventSubscriber\DefaultRouteSubscriber
  14. arguments: ['@entity_type.manager', '@form_mode.manager', '@plugin.manager.entity_routing_map']
  15. tags:
  16. - { name: event_subscriber }
  17. form_mode_manager.param_converter:
  18. class: Drupal\form_mode_manager\ParamConverter\FormModeManagerConverter
  19. arguments: ['@form_mode.manager']
  20. tags:
  21. - { name: paramconverter }
  22. form_mode.manager:
  23. class: Drupal\form_mode_manager\FormModeManager
  24. arguments: ['@entity_type.manager', '@config.factory', '@entity_display.repository', '@entity_type.bundle.info', '@plugin.manager.entity_routing_map']
  25. plugin.manager.entity_routing_map:
  26. class: Drupal\form_mode_manager\EntityRoutingMapManager
  27. parent: default_plugin_manager