services:
  social_post_album.element_info:
    class: Drupal\social_post_album\Service\SocialPostAlbumElementInfoManager
    arguments:
      - '@container.namespaces'
      - '@cache.discovery'
      - '@cache_tags.invalidator'
      - '@module_handler'
      - '@theme.manager'

  social_post_album.lazy_renderer:
    class: Drupal\social_post_album\LazyRenderer
    arguments: ['@entity_type.manager']

  social_post_album.override:
    class: Drupal\social_post_album\SocialPostPhotoAlbumConfigOverride
    tags:
      - { name: config.factory.override, priority: 5 }

  social_post_album.route_subscriber:
    class: Drupal\social_post_album\Routing\RouteSubscriber
    tags:
      - { name: event_subscriber }
