You are here

farm_group.services.yml in farmOS 2.x

modules/asset/group/farm_group.services.yml

File

modules/asset/group/farm_group.services.yml
View source
  1. services:
  2. group.membership:
  3. class: Drupal\farm_group\GroupMembership
  4. arguments:
  5. [ '@farm.log_query', '@entity_type.manager', '@datetime.time', '@database' ]
  6. farm_group.log_event_subscriber:
  7. class: Drupal\farm_group\EventSubscriber\LogEventSubscriber
  8. arguments:
  9. [ '@cache_tags.invalidator', '@datetime.time', '@group.membership' ]
  10. tags:
  11. - { name: 'event_subscriber' }
  12. farm_group.route_subscriber:
  13. class: Drupal\farm_group\Routing\RouteSubscriber
  14. tags:
  15. - { name: event_subscriber }
  16. farm_group.group_members_access:
  17. class: Drupal\farm_group\Access\FarmGroupMembersViewsAccessCheck
  18. arguments: [ '@entity_type.manager' ]
  19. tags:
  20. - { name: access_check, applies_to: _group_members_access }