farm_group.services.yml in farmOS 2.x
modules/asset/group/farm_group.services.yml
File
modules/asset/group/farm_group.services.ymlView source
- services:
- group.membership:
- class: Drupal\farm_group\GroupMembership
- arguments:
- [ '@farm.log_query', '@entity_type.manager', '@datetime.time', '@database' ]
- farm_group.log_event_subscriber:
- class: Drupal\farm_group\EventSubscriber\LogEventSubscriber
- arguments:
- [ '@cache_tags.invalidator', '@datetime.time', '@group.membership' ]
- tags:
- - { name: 'event_subscriber' }
- farm_group.route_subscriber:
- class: Drupal\farm_group\Routing\RouteSubscriber
- tags:
- - { name: event_subscriber }
- farm_group.group_members_access:
- class: Drupal\farm_group\Access\FarmGroupMembersViewsAccessCheck
- arguments: [ '@entity_type.manager' ]
- tags:
- - { name: access_check, applies_to: _group_members_access }
Services
Name | Description |
---|---|
farm_group.group_members_access | Drupal\farm_group\Access\FarmGroupMembersViewsAccessCheck |
farm_group.log_event_subscriber | Drupal\farm_group\EventSubscriber\LogEventSubscriber |
farm_group.route_subscriber | Drupal\farm_group\Routing\RouteSubscriber |
group.membership | Drupal\farm_group\GroupMembership |