You are here

webform_revisions.services.yml in Config Entity Revisions 8

modules/webform_revisions/webform_revisions.services.yml

File

modules/webform_revisions/webform_revisions.services.yml
View source
  1. services:
  2. paramconverter.webform_revisions:
  3. class: Drupal\webform_revisions\ParamConverter\WebformRevisionsConverter
  4. # Use a higher priority than either the config converter or the entity convertor.
  5. # In contrast to weights, a higher number = earlier, not later.
  6. tags:
  7. - { name: paramconverter, priority: 20 }
  8. arguments: ['@entity_type.manager', '@entity.repository']
  9. #paramconverter.webform_revisions_revision:
  10. #class: Drupal\Core\ParamConverter\EntityRevisionParamConverter
  11. #tags:
  12. #- { name: paramconverter }
  13. #arguments: ['@entity_type.manager', '@entity.repository']
  14. webform_revisions.route_subscriber:
  15. class: Drupal\webform_revisions\Routing\RouteSubscriber
  16. tags:
  17. - { name: event_subscriber }
  18. webform.request:
  19. class: Drupal\webform_revisions\WebformRevisionsRequest
  20. arguments: ['@router.route_provider', '@request_stack', '@router.admin_context', '@current_route_match', '@entity_type.manager', '@entity_type.repository', '@webform.entity_reference_manager', '@plugin.manager.webform.source_entity']