forked from drupal-media/entity_embed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
entity_embed.routing.yml
47 lines (42 loc) · 1.33 KB
/
entity_embed.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
entity_embed.dialog:
path: '/entity-embed/dialog/entity-embed/{filter_format}/{embed_button}'
defaults:
_form: '\Drupal\entity_embed\Form\EntityEmbedDialog'
_title: 'Embed entity'
requirements:
_entity_access: 'filter_format.use'
entity_embed.preview:
path: '/entity-embed/preview/{filter_format}'
defaults:
_controller: '\Drupal\entity_embed\EntityEmbedController::preview'
_title: 'Preview embedded entity'
requirements:
_entity_access: 'filter_format.use'
embed_button.list:
path: '/admin/config/content/embed-button'
defaults:
_entity_list: 'embed_button'
_title: 'Embed Buttons'
requirements:
_permission: 'administer embed buttons'
embed_button.add:
path: '/admin/config/content/embed-button/add'
defaults:
_entity_form: 'embed_button.add'
_title: 'Add Embed Button'
requirements:
_permission: 'administer embed buttons'
embed_button.edit:
path: '/admin/config/content/embed-button/{embed_button}'
defaults:
_entity_form: 'embed_button.edit'
_title: 'Edit Embed button'
requirements:
_permission: 'administer embed buttons'
embed_button.delete:
path: '/admin/config/content/embed-button/{embed_button}/delete'
defaults:
_entity_form: 'embed_button.delete'
_title: 'Delete Embed button'
requirements:
_permission: 'administer embed buttons'