You are here

page_manager.services.yml in Page Manager 8.4

Same filename and directory in other branches
  1. 8 page_manager.services.yml

File

page_manager.services.yml
View source
  1. services:
  2. page_manager.current_user_context:
  3. class: Drupal\page_manager\EventSubscriber\CurrentUserContext
  4. arguments: ['@context.repository']
  5. tags:
  6. - { name: 'event_subscriber' }
  7. page_manager.route_param_context:
  8. class: Drupal\page_manager\EventSubscriber\RouteParamContext
  9. arguments: ['@router.route_provider', '@request_stack']
  10. tags:
  11. - { name: 'event_subscriber' }
  12. page_manager.language_interface_context:
  13. class: Drupal\page_manager\EventSubscriber\LanguageInterfaceContext
  14. arguments: ['@context.repository']
  15. tags:
  16. - { name: 'event_subscriber' }
  17. page_manager.context_mapper:
  18. class: Drupal\page_manager\ContextMapper
  19. arguments: ['@entity.repository']
  20. page_manager.page_manager_routes:
  21. class: Drupal\page_manager\Routing\PageManagerRoutes
  22. arguments: ['@entity_type.manager', '@cache_tags.invalidator']
  23. tags:
  24. - { name: 'event_subscriber' }
  25. page_manager.variant_route_filter:
  26. class: Drupal\page_manager\Routing\VariantRouteFilter
  27. arguments: ['@entity_type.manager', '@path.current', '@request_stack']
  28. tags:
  29. # Run as late as possible to allow all other filters to run first.
  30. # @todo Review this when https://www.drupal.org/node/2915772 is done.
  31. - { name: route_filter, priority: -1024 }
  32. - { name: service_collector, tag: non_lazy_route_enhancer, call: addRouteEnhancer }
  33. - { name: service_collector, tag: route_enhancer, call: addRouteEnhancer }
  34. page_manager.route_name_response_subscriber:
  35. class: Drupal\page_manager\EventSubscriber\RouteNameResponseSubscriber
  36. tags:
  37. - { name: event_subscriber }
  38. arguments: ['@current_route_match']
  39. page_manager.page_access_check:
  40. class: Drupal\page_manager\Entity\PageAccessCheck
  41. tags:
  42. - { name: access_check, applies_to: _page_access }