forked from drupal-media/entity_embed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
entity_embed.routing.yml
48 lines (43 loc) · 1.51 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
48
entity_embed.dialog:
path: '/entity-embed/dialog/entity-embed/{filter_format}/{entity_embed_button}'
defaults:
_form: '\Drupal\entity_embed\Form\EntityEmbedDialog'
_title: 'Embed entity'
requirements:
_entity_access: 'filter_format.use'
_custom_access: '\Drupal\entity_embed\Form\EntityEmbedDialog::buttonIsEnabled'
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'
entity_embed_button.list:
path: '/admin/config/content/embed-button'
defaults:
_entity_list: 'entity_embed_button'
_title: 'Embed Buttons'
requirements:
_permission: 'administer embed buttons'
entity_embed_button.add:
path: '/admin/config/content/embed-button/add'
defaults:
_entity_form: 'entity_embed_button.add'
_title: 'Add Embed Button'
requirements:
_permission: 'administer embed buttons'
entity.entity_embed_button.edit_form:
path: '/admin/config/content/embed-button/{entity_embed_button}'
defaults:
_entity_form: 'entity_embed_button.edit'
_title: 'Edit Embed button'
requirements:
_permission: 'administer embed buttons'
entity.entity_embed_button.delete_form:
path: '/admin/config/content/embed-button/{entity_embed_button}/delete'
defaults:
_entity_form: 'entity_embed_button.delete'
_title: 'Delete Embed button'
requirements:
_permission: 'administer embed buttons'