services:
  panels_everywhere.page_display_variant_subscriber:
    class: Drupal\panels_everywhere\EventSubscriber\PanelsEverywherePageDisplayVariantSubscriber
    arguments: ['@entity_type.manager']
    tags:
      - { name: 'event_subscriber', priority: 1000 }
  panels_everywhere.route_subscriber:
    class: Drupal\panels_everywhere\Routing\PanelsEverywhereRouteSubscriber
    arguments: ['@entity_type.manager', '@cache_tags.invalidator']
    tags:
      - { name: 'event_subscriber', priority: -200 }
