You are here

views_revisions.services.yml in Config Entity Revisions 1.x

Same filename and directory in other branches
  1. 8 modules/views_revisions/views_revisions.services.yml
modules/views_revisions/views_revisions.services.yml

File

modules/views_revisions/views_revisions.services.yml
View source
  1. services:
  2. paramconverter.view_revision:
  3. class: Drupal\views_revisions\ParamConverter\ViewsRevisionsConverter
  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', '@tempstore.shared', '@config.factory', '@router.admin_context', '@entity.repository']
  9. lazy: true
  10. #paramconverter.view_revisions_revision:
  11. #class: Drupal\Core\ParamConverter\EntityRevisionParamConverter
  12. #tags:
  13. #- { name: paramconverter }
  14. #arguments: ['@entity_type.manager', '@entity.repository']
  15. views_revisions.route_subscriber:
  16. class: Drupal\views_revisions\Routing\RouteSubscriber
  17. tags:
  18. - { name: event_subscriber }
  19. # view.request:
  20. # class: Drupal\views_revisions\ViewsRevisionsRequest
  21. # arguments: ['@router.route_provider', '@request_stack', '@router.admin_context', '@current_route_match', '@entity_type.manager', '@entity_type.repository', '@view.entity_reference_manager', '@plugin.manager.view.source_entity']