You are here

view_modes_display.services.yml in View Modes Display 8.2

File

view_modes_display.services.yml
View source
  1. services:
  2. view_modes_display.preview_factory:
  3. class: Drupal\view_modes_display\Service\PreviewFactory
  4. arguments: ['@config.factory', '@entity_type.manager', '@entity_display.repository']
  5. view_modes_display.subscriber:
  6. class: Drupal\view_modes_display\Routing\RouteSubscriber
  7. arguments: ['@entity_type.manager', '@entity_display.repository']
  8. tags:
  9. - { name: event_subscriber }