This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
openy_gated_content.routing.yml
98 lines (88 loc) · 3.02 KB
/
openy_gated_content.routing.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
openy_gated_content.openy_config:
path: '/admin/virtual-y'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'Virtual Y'
requirements:
_permission: 'access gated content menu'
openy_gated_content.taxonomy_config:
path: '/admin/virtual-y/taxonomy'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'Virtual Y Taxonomy'
requirements:
_permission: 'access gated content menu'
openy_gated_content.settings:
path: '/admin/openy/virtual-ymca'
defaults:
_form: '\Drupal\openy_gated_content\Form\GCSettingsForm'
_title: 'Virtual Y settings'
requirements:
_permission: 'administer gated content configuration'
openy_gated_content.welcome_email_settings:
path: '/admin/openy/virtual-ymca/welcome-email-settings'
defaults:
_form: '\Drupal\openy_gated_content\Form\WelcomeEmailSettingsForm'
_title: 'Virtual Y welcome email settings'
requirements:
_permission: 'administer gated content configuration'
openy_gated_content.test_welcome_email:
path: '/admin/openy/virtual-ymca/welcome-email-settings/test'
defaults:
_form: '\Drupal\openy_gated_content\Form\TestWelcomeEmail'
_title: 'Test Virtual Y welcome email'
requirements:
_permission: 'administer gated content configuration'
openy_gated_content.categories.list:
path: '/api/categories-list'
defaults:
_controller: '\Drupal\openy_gated_content\Controller\CategoriesController::list'
_title: 'Virtual Y all categories'
requirements:
_permission: 'access content'
_role: 'authenticated'
options:
no_cache: TRUE
openy_gated_content.events.list:
path: '/virtual-y/api/events'
defaults:
_title: 'Virtual Y Events'
_controller: '\Drupal\openy_gated_content\Controller\EventsController::list'
methods: ['GET']
requirements:
_permission: 'access content'
_role: 'authenticated'
openy_gated_content.favorites.list:
path: '/api/favorites'
defaults:
_controller: '\Drupal\openy_gated_content\Controller\FavoritesController::list'
_title: 'User favorites'
methods: ['GET']
requirements:
_permission: 'access content'
_role: 'authenticated'
openy_gated_content.favorites.add:
path: '/api/favorites/add'
defaults:
_controller: '\Drupal\openy_gated_content\Controller\FavoritesController::add'
_title: 'User favorites'
methods: ['POST']
requirements:
_permission: 'access content'
_role: 'authenticated'
openy_gated_content.favorites.delete:
path: '/api/favorites/delete'
defaults:
_controller: '\Drupal\openy_gated_content\Controller\FavoritesController::delete'
_title: 'User favorites'
methods: ['DELETE']
requirements:
_permission: 'access content'
_role: 'authenticated'
openy_gated_content.duration.rebuild:
path: '/admin/virtual-y/rebuild-durations'
defaults:
_form: '\Drupal\openy_gated_content\Form\RebuildDurationsForm'
_title: 'Rebuild Duration references'
requirements:
_permission: 'edit any gc_video content'