You are here

permissions_by_term.services.yml in Permissions by Term 8

Same filename and directory in other branches
  1. 8.2 permissions_by_term.services.yml

File

permissions_by_term.services.yml
View source
  1. services:
  2. permissions_by_term.kernel_event_listener:
  3. class: Drupal\permissions_by_term\Listener\KernelEventListener
  4. arguments: []
  5. tags:
  6. - { name: event_subscriber }
  7. permissions_by_term.access_check:
  8. class: Drupal\permissions_by_term\Service\AccessCheck
  9. arguments: ['@database', '@event_dispatcher']
  10. permissions_by_term.access_storage:
  11. class: Drupal\permissions_by_term\Service\AccessStorage
  12. arguments: ['@database', '@permissions_by_term.term_handler', '@permissions_by_term.access_check']
  13. permissions_by_term.node_access_record_factory:
  14. class: \Drupal\permissions_by_term\Factory\NodeAccessRecordFactory
  15. permissions_by_term.node_access:
  16. class: \Drupal\permissions_by_term\Service\NodeAccess
  17. arguments: ['@permissions_by_term.access_storage', '@permissions_by_term.node_access_record_factory', '@entity_type.manager', '@permissions_by_term.access_check', '@database']
  18. permissions_by_term.term_handler:
  19. class: \Drupal\permissions_by_term\Service\TermHandler
  20. arguments: ['@database']
  21. permissions_by_term.node_entity_bundle_info:
  22. class: \Drupal\permissions_by_term\Service\NodeEntityBundleInfo
  23. arguments: ['@permissions_by_term.access_storage', '@permissions_by_term.term_handler', '@twig', '@database']