You are here

permissions_by_entity.services.yml in Permissions by Term 8

Same filename and directory in other branches
  1. 8.2 modules/permissions_by_entity/permissions_by_entity.services.yml
modules/permissions_by_entity/permissions_by_entity.services.yml

File

modules/permissions_by_entity/permissions_by_entity.services.yml
View source
  1. services:
  2. permissions_by_entity.checked_entity_cache:
  3. class: Drupal\permissions_by_entity\Service\CheckedEntityCache
  4. permissions_by_entity.access_checker:
  5. class: Drupal\permissions_by_entity\Service\AccessChecker
  6. arguments:
  7. - '@event_dispatcher'
  8. - '@permissions_by_entity.checked_entity_cache'
  9. - '@entity.manager'
  10. - '@database'
  11. permissions_by_entity.kernel_event_subscriber:
  12. class: Drupal\permissions_by_entity\EventSubscriber\PermissionsByEntityKernelEventSubscriber
  13. arguments:
  14. - '@permissions_by_entity.access_checker'
  15. - '@string_translation'
  16. - '@permissions_by_entity.checked_entity_cache'
  17. tags:
  18. - { name: event_subscriber }
  19. permissions_by_entity.remove_entity_from_view_event_subscriber:
  20. class: Drupal\permissions_by_entity\EventSubscriber\RemoveEntityFromViewEventSubscriber
  21. tags:
  22. - { name: event_subscriber }