-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbueditor.routing.yml
94 lines (83 loc) · 2.73 KB
/
bueditor.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
bueditor.admin:
path: '/admin/config/content/bueditor'
defaults:
_controller: '\Drupal\bueditor\Controller\BUEditorController::adminOverview'
_title: 'BUEditor'
requirements:
_permission: 'administer bueditor'
bueditor.editor_add:
path: '/admin/config/content/bueditor/add-editor'
defaults:
_entity_form: 'bueditor_editor.add'
_title: 'Add editor'
requirements:
_entity_create_access: 'bueditor_editor'
entity.bueditor_editor.edit_form:
path: '/admin/config/content/bueditor/{bueditor_editor}'
defaults:
_entity_form: 'bueditor_editor.edit'
_title: 'Edit editor'
requirements:
_entity_access: 'bueditor_editor.update'
entity.bueditor_editor.delete_form:
path: '/admin/config/content/bueditor/{bueditor_editor}/delete'
defaults:
_entity_form: 'bueditor_editor.delete'
_title: 'Delete editor'
requirements:
_entity_access: 'bueditor_editor.delete'
entity.bueditor_editor.duplicate_form:
path: '/admin/config/content/bueditor/{bueditor_editor}/duplicate'
defaults:
_entity_form: 'bueditor_editor.duplicate'
_title: 'Duplicate editor'
requirements:
_entity_create_access: 'bueditor_editor'
bueditor.buttons:
path: '/admin/config/content/bueditor/buttons'
defaults:
_controller: '\Drupal\bueditor\Controller\BUEditorController::buttonsOverview'
_title: 'Buttons'
requirements:
_permission: 'administer bueditor'
bueditor.button_add:
path: '/admin/config/content/bueditor/buttons/add-button'
defaults:
_entity_form: 'bueditor_button.add'
_title: 'Add button'
requirements:
_entity_create_access: 'bueditor_button'
entity.bueditor_button.edit_form:
path: '/admin/config/content/bueditor/buttons/{bueditor_button}'
defaults:
_entity_form: 'bueditor_button.edit'
_title: 'Edit button'
requirements:
_entity_access: 'bueditor_button.update'
entity.bueditor_button.delete_form:
path: '/admin/config/content/bueditor/buttons/{bueditor_button}/delete'
defaults:
_entity_form: 'bueditor_button.delete'
_title: 'Delete button'
requirements:
_entity_access: 'bueditor_button.delete'
entity.bueditor_button.duplicate_form:
path: '/admin/config/content/bueditor/buttons/{bueditor_button}/duplicate'
defaults:
_entity_form: 'bueditor_button.duplicate'
_title: 'Duplicate button'
requirements:
_entity_create_access: 'bueditor_button'
bueditor.settings:
path: '/admin/config/content/bueditor/settings'
defaults:
_form: '\Drupal\bueditor\Form\BUEditorSettingsForm'
_title: 'Settings'
requirements:
_permission: 'administer bueditor'
drupal.xpreview:
path: '/xpreview'
defaults:
_controller: '\Drupal\bueditor\Controller\XPreviewController::response'
requirements:
_permission: 'access ajax preview'