-
Notifications
You must be signed in to change notification settings - Fork 1
/
group_permissions.services.yml
22 lines (19 loc) · 1.22 KB
/
group_permissions.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
services:
group_permission.group_permission_calculator:
class: 'Drupal\group_permissions\Access\GroupPermissionCalculator'
arguments: ['@entity_type.manager', '@group.membership_loader', '@group_permission.group_permissions_manager']
tags:
- { name: group_permission_calculator, priority: -110 }
group_permission.group_permissions_manager:
arguments: ['@cache.default', '@entity_type.manager', '@group_role.synchronizer']
class: Drupal\group_permissions\GroupPermissionsManager
group_permission.group_permissions_node_access_records_builder:
arguments: ['@group_permission.group_permissions_manager', '@entity_type.manager', '@group.membership_loader']
class: Drupal\group_permissions\GroupPermissionsNodeAccessRecordsBuilder
group_permission.group_permission_chain_calculator:
class: Drupal\group_permissions\Access\GroupPermissionsChainGroupPermissionCalculator
decorates: group_permission.chain_calculator
decoration_priority: 1
arguments: ['@variation_cache.group_default', '@variation_cache.corefix_static_no_serialize', '@cache.corefix_static_no_serialize', '@account_switcher']
tags:
- { name: service_collector, call: addCalculator, tag: group_permission_calculator }