-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathomnipedia_main_page.services.yml
67 lines (59 loc) · 2.22 KB
/
omnipedia_main_page.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
services:
cache_context.omnipedia_is_wiki_main_page:
class: Drupal\omnipedia_main_page\Cache\Context\IsWikiMainPageCacheContext
arguments:
- '@omnipedia_main_page.route'
tags:
- { name: cache.context }
omnipedia_main_page.form_system_site_information_settings_event_subscriber:
class: Drupal\omnipedia_main_page\EventSubscriber\Form\SystemSiteInformationSettingsEventSubscriber
arguments:
- '@omnipedia_main_page.default'
- '@omnipedia_main_page.resolver'
- '@omnipedia.wiki_node_resolver'
- '@omnipedia.wiki_node_revision'
- '@string_translation'
tags:
- { name: 'event_subscriber' }
omnipedia_main_page.cache:
class: Drupal\omnipedia_main_page\Service\MainPageCache
arguments:
- '@cache.default'
- '@omnipedia_main_page.default'
- '@omnipedia.wiki_node_resolver'
omnipedia_main_page.default:
class: Drupal\omnipedia_main_page\Service\MainPageDefault
arguments:
- '@omnipedia.wiki_node_resolver'
- '@state'
omnipedia_main_page.resolver:
class: Drupal\omnipedia_main_page\Service\MainPageResolver
arguments:
- '@omnipedia_main_page.default'
- '@omnipedia.wiki_node_resolver'
- '@omnipedia.wiki_node_revision'
omnipedia_main_page.route:
class: Drupal\omnipedia_main_page\Service\MainPageRoute
arguments:
- '@current_route_match'
- '@omnipedia_main_page.default'
- '@omnipedia_main_page.resolver'
- '@omnipedia.wiki_node_route'
omnipedia_main_page.wiki_node_edit_local_task_event_subscriber:
class: Drupal\omnipedia_main_page\EventSubscriber\Menu\WikiNodeEditLocalTaskEventSubscriber
arguments:
- '@current_route_match'
- '@current_user'
- '@omnipedia_main_page.resolver'
- '@omnipedia.wiki_node_resolver'
tags:
- { name: 'event_subscriber' }
omnipedia_main_page.wiki_node_edit_not_found_to_access_denied_event_subscriber:
class: Drupal\omnipedia_main_page\EventSubscriber\Omnipedia\WikiNodeEditNotFoundToAccessDeniedEventSubscriber
arguments:
- '@current_route_match'
- '@current_user'
- '@omnipedia_main_page.resolver'
- '@omnipedia.wiki_node_resolver'
tags:
- { name: 'event_subscriber' }