You are here

page_manager.services.yml in Page Manager 8

Same filename and directory in other branches
  1. 8.4 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: ['@current_user', '@entity_type.manager']
  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.context_mapper:
  13. class: Drupal\page_manager\ContextMapper
  14. arguments: ['@entity.repository']
  15. page_manager.page_manager_routes:
  16. class: Drupal\page_manager\Routing\PageManagerRoutes
  17. arguments: ['@entity_type.manager', '@cache_tags.invalidator']
  18. tags:
  19. - { name: 'event_subscriber' }
  20. page_manager.variant_route_filter:
  21. class: Drupal\page_manager\Routing\VariantRouteFilter
  22. arguments: ['@entity_type.manager', '@path.current', '@request_stack']
  23. tags:
  24. # Run as late as possible to allow all other filters to run first.
  25. - { name: non_lazy_route_filter, priority: -1024 }
  26. - { name: service_collector, tag: non_lazy_route_enhancer, call: addRouteEnhancer }
  27. page_manager.route_name_response_subscriber:
  28. class: Drupal\page_manager\EventSubscriber\RouteNameResponseSubscriber
  29. tags:
  30. - { name: event_subscriber }
  31. arguments: ['@current_route_match']
  32. page_manager.page_access_check:
  33. class: Drupal\page_manager\Entity\PageAccessCheck
  34. tags:
  35. - { name: access_check, applies_to: _page_access }