-
Notifications
You must be signed in to change notification settings - Fork 2
/
protected_pages.routing.yml
56 lines (50 loc) · 2.01 KB
/
protected_pages.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
protected_pages_list:
path: 'admin/config/system/protected_pages'
defaults:
_title: 'Protected Pages'
_controller: '\Drupal\protected_pages\Controller\ProtectedPagesController::protectedPagesList'
requirements:
_permission: 'administer protected pages configuration'
protected_pages_add:
path: 'admin/config/system/protected_pages/add'
defaults:
_title: 'Add Protected Page'
_form: '\Drupal\protected_pages\Form\ProtectedPagesAddForm'
requirements:
_permission: 'administer protected pages configuration'
protected_pages_edit:
path: 'admin/config/system/protected_pages/{pid}/edit'
defaults:
_title: 'Edit Protected Page'
_form: '\Drupal\protected_pages\Form\ProtectedPagesEditForm'
requirements:
_permission: 'administer protected pages configuration'
protected_pages_delete:
path: 'admin/config/system/protected_pages/{pid}/delete'
defaults:
_title: 'Delete Protected Page'
_form: '\Drupal\protected_pages\Form\ProtectedPagesDeleteConfirmForm'
requirements:
_permission: 'administer protected pages configuration'
protected_pages_send_email:
path: 'admin/config/system/protected_pages/{pid}/send_email'
defaults:
_title: 'Send protected pages details to user by email'
_form: '\Drupal\protected_pages\Form\ProtectedPagesSendEmailForm'
requirements:
_permission: 'administer protected pages configuration'
protected_pages_settings:
path: 'admin/config/system/protected_pages/settings'
defaults:
_title: 'Settings'
_form: '\Drupal\protected_pages\Form\ProtectedPagesSettingForm'
requirements:
_permission: 'administer protected pages configuration'
protected_pages_login_page:
path: 'protected-page'
defaults:
_title_callback: '\Drupal\protected_pages\Form\ProtectedPagesLoginForm::protectedPageTitle'
_title: 'Protected page - Enter Password'
_form: '\Drupal\protected_pages\Form\ProtectedPagesLoginForm'
requirements:
_custom_access: '\Drupal\protected_pages\Form\ProtectedPagesLoginForm::accessProtectedPageLoginScreen'