-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstanford_profile_helper.services.yml
49 lines (49 loc) · 2.39 KB
/
stanford_profile_helper.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
46
47
48
49
services:
stanford_profile_helper.default_content:
class: Drupal\stanford_profile_helper\StanfordDefaultContent
arguments: ['@entity_type.manager', '@config.factory', '@extension.path.resolver']
stanford_profile_helper.event_subscriber.search_api:
class: Drupal\stanford_profile_helper\EventSubscriber\SearchApiEventSubscriber
arguments: ['@config.factory']
tags:
- { name: 'event_subscriber' }
stanford_profile_helper.event_subscriber.views:
class: Drupal\stanford_profile_helper\EventSubscriber\ViewsEventSubscriber
arguments: [ ]
tags:
- { name: 'event_subscriber' }
stanford_profile_helper.event_subscriber.entity:
class: Drupal\stanford_profile_helper\EventSubscriber\EntityEventSubscriber
arguments: ['@stanford_profile_helper.default_content', '@state', '@entity_type.manager']
tags:
- { name: 'event_subscriber' }
stanford_profile_helper.event_subscriber.preprocess:
class: Drupal\stanford_profile_helper\EventSubscriber\PreprocessEventSubscriber
arguments: ['@rabbit_hole.behavior_invoker', '@plugin.manager.rabbit_hole_behavior_plugin']
tags:
- { name: 'event_subscriber' }
stanford_profile_helper.event_subscriber.form:
class: Drupal\stanford_profile_helper\EventSubscriber\FormEventSubscriber
arguments: ['@current_user', '@state']
tags:
- { name: event_subscriber }
stanford_profile_helper.config_overrider:
class: Drupal\stanford_profile_helper\Config\ConfigOverrides
arguments: ['@state', '@config_pages.loader', '@config.factory', '@entity_type.manager', '@stream_wrapper_manager']
tags:
- {name: config.factory.override, priority: 5}
stanford_profile_helper.menu_link_tree:
class: Drupal\stanford_profile_helper\MenuLinkTreeOverride
decorates: menu.link_tree
public: false
arguments: ['@stanford_profile_helper.menu_link_tree.inner']
stanford_profile_helper.cache_context.route.menu_active_trails:
class: Drupal\stanford_profile_helper\MenuActiveTrailsCacheContextOverride
decorates: cache_context.route.menu_active_trails
pubic: false
arguments: ['@stanford_profile_helper.cache_context.route.menu_active_trails.inner']
stanford_profile_helper.event_subscriber.google:
class: Drupal\stanford_profile_helper\EventSubscriber\GoogleAnalyticsSubscriber
arguments: ['@config_pages.loader', '@request_stack', '@state']
tags:
- { name: event_subscriber }