-
Notifications
You must be signed in to change notification settings - Fork 0
/
og.services.yml
46 lines (45 loc) · 2 KB
/
og.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
access_check.og.user_access_group:
class: Drupal\og\Access\GroupCheck
arguments: ['@entity_type.manager', '@og.access']
tags:
- { name: access_check, applies_to: _og_user_access_group }
cache_context.og_membership_state:
class: 'Drupal\og\Cache\Context\OgMembershipStateCacheContext'
arguments: ['@current_user', '@current_route_match', '@og.group_type_manager', '@og.membership_manager']
tags:
- { name: 'cache.context'}
og.access:
class: Drupal\og\OgAccess
arguments: ['@config.factory', '@current_user', '@module_handler', '@og.group_type_manager', '@og.permission_manager', '@og.membership_manager']
og.membership_manager:
class: Drupal\og\MembershipManager
arguments: ['@entity_type.manager']
og.event_subscriber:
class: Drupal\og\EventSubscriber\OgEventSubscriber
arguments: ['@og.permission_manager', '@entity_type.manager', '@entity_type.bundle.info']
tags:
- { name: 'event_subscriber' }
og.group_type_manager:
class: Drupal\og\GroupTypeManager
arguments: ['@config.factory', '@entity_type.manager', '@entity_type.bundle.info', '@event_dispatcher', '@state', '@og.permission_manager', '@og.role_manager', '@router.builder']
og.permissions:
class: Drupal\og\OgPermissionHandler
arguments: ['@module_handler', '@string_translation', '@controller_resolver']
og.permission_manager:
class: Drupal\og\PermissionManager
arguments: ['@event_dispatcher']
og.route_subscriber:
class: Drupal\og\Routing\RouteSubscriber
arguments: ['@entity_type.manager', '@router.route_provider', '@event_dispatcher']
tags:
- { name: event_subscriber }
og.role_manager:
class: Drupal\og\OgRoleManager
arguments: ['@entity_type.manager', '@event_dispatcher', '@og.permission_manager']
plugin.manager.og.delete_orphans:
class: Drupal\og\OgDeleteOrphansPluginManager
parent: default_plugin_manager
plugin.manager.og.fields:
class: Drupal\og\OgFieldsPluginManager
parent: default_plugin_manager