You are here

permissions_by_term.services.yml in Permissions by Term 8.2

Same filename and directory in other branches
  1. 8 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: ['@permissions_by_term.access_check', '@permissions_by_term.access_storage', '@permissions_by_term.term_handler', '@event_dispatcher', '@page_cache_kill_switch', '@config.factory']
  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', '@entity_field.manager']
  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', '@permissions_by_term.key_value_cache']
  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', '@entity_field.manager', '@entity_type.manager']
  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']
  24. logger.channel.permissions_by_term:
  25. class: Drupal\Core\Logger\LoggerChannel
  26. factory: logger.factory:get
  27. arguments: ['permissions_by_term']
  28. cache.permissions_by_term:
  29. class: Drupal\Core\Cache\CacheBackendInterface
  30. tags:
  31. - { name: cache.bin }
  32. factory: cache_factory:get
  33. arguments:
  34. - permissions_by_term
  35. permissions_by_term.access_result_cache:
  36. class: Drupal\permissions_by_term\Cache\AccessResultCache
  37. arguments: ['@cache.permissions_by_term']
  38. permissions_by_term.key_value_cache:
  39. class: Drupal\permissions_by_term\Cache\KeyValueCache
  40. arguments: ['@cache.permissions_by_term']
  41. permissions_by_term.cache_invalidator:
  42. class: Drupal\permissions_by_term\Cache\CacheInvalidator
  43. autowire: true