shortcut.routing.yml 1.38 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
shortcut_link_delete:
  pattern: '/admin/config/user-interface/shortcut/link/{menu_link}/delete'
  defaults:
    _form: 'Drupal\shortcut\Form\LinkDelete'
  requirements:
    _access_shortcut_link_delete: 'TRUE'

shortcut_set_delete:
  pattern: '/admin/config/user-interface/shortcut/manage/{shortcut}/delete'
  defaults:
11
    _entity_form: 'shortcut.delete'
12
13
  requirements:
    _entity_access: 'shortcut.delete'
14
15
16
17

shortcut_set_admin:
  pattern: '/admin/config/user-interface/shortcut'
  defaults:
18
    _entity_list: 'shortcut'
19
20
  requirements:
    _permission: 'administer shortcuts'
21

22
23
24
25
26
27
28
shortcut_set_add:
  pattern: '/admin/config/user-interface/shortcut/add-set'
  defaults:
    _entity_form: 'shortcut.add'
  requirements:
    _entity_create_access: 'shortcut'

29
30
31
32
33
shortcut_set_edit:
  pattern: '/admin/config/user-interface/shortcut/manage/{shortcut}/edit'
  defaults:
    _entity_form: 'shortcut.edit'
  requirements:
34
    _entity_access: 'shortcut.update'
35
36
37
38
39
40

shortcut_link_add_inline:
  pattern: '/admin/config/user-interface/shortcut/manage/{shortcut}/add-link-inline'
  defaults:
    _controller: 'Drupal\shortcut\Controller\ShortcutController::addShortcutLinkInline'
  requirements:
41
    _entity_access: 'shortcut.update'
42
43
44
45
46
47
48

shortcut_set_customize:
  pattern: '/admin/config/user-interface/shortcut/manage/{shortcut}'
  defaults:
    _entity_form: 'shortcut.customize'
  requirements:
    _entity_access: 'shortcut.update'