You are here

pages_restriction.services.yml in Pages Restriction Access 8

File

pages_restriction.services.yml
View source
  1. services:
  2. pages_restriction.event_subscriber:
  3. class: Drupal\pages_restriction\Event\PagesRestrictionSubscriber
  4. arguments: ['@config.factory', '@request_stack', '@path.matcher', '@pages_restriction.helper', '@current_user', '@session', '@path.current', '@path_alias.manager']
  5. tags:
  6. - { name: event_subscriber, priority: 210}
  7. pages_restriction.helper:
  8. class: Drupal\pages_restriction\Service\PagesRestrictionHelper
  9. arguments: []
  10. pages_restriction.session_service:
  11. class: Drupal\pages_restriction\Service\PagesRestrictionSessionService
  12. arguments: ['@session']