responsive_preview.services.yml in Responsive Theme Preview 8
File
responsive_preview.services.ymlView source
- services:
- cache_context.route.is_admin:
- class: Drupal\responsive_preview\Cache\RouteAdminCacheContext
- arguments: ['@router.admin_context']
- tags:
- - { name: cache.context }
- responsive_preview:
- class: Drupal\responsive_preview\ResponsivePreview
- arguments:
- - '@router.admin_context'
- - '@path.current'
- - '@current_route_match'
- - '@entity_type.manager'
- - '@current_user'
Services
Name![]() |
Description |
---|---|
cache_context.route.is_admin | Drupal\responsive_preview\Cache\RouteAdminCacheContext |
responsive_preview | Drupal\responsive_preview\ResponsivePreview |