You are here

preview_link.services.yml in Preview Link 8

Same filename and directory in other branches
  1. 2.x preview_link.services.yml
  2. 2.0.x preview_link.services.yml

File

preview_link.services.yml
View source
  1. services:
  2. access_check.preview_link:
  3. class: Drupal\preview_link\Access\PreviewLinkAccessCheck
  4. arguments: ['@entity_type.manager']
  5. tags:
  6. - { name: access_check, applies_to: _access_preview_link }
  7. access_check.preview_enabled:
  8. class: Drupal\preview_link\Access\PreviewEnabledAccessCheck
  9. arguments: ['@config.factory']
  10. tags:
  11. - { name: access_check, applies_to: _access_preview_enabled }
  12. cache_context.preview_link_route:
  13. class: Drupal\preview_link\PreviewLinkCacheContext
  14. arguments: ['@current_route_match']
  15. tags:
  16. - { name: cache.context }
  17. preview_link.link_expiry:
  18. class: Drupal\preview_link\LinkExpiry
  19. arguments: ['@state']