Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / shortcut / shortcut.routing.yml
1 entity.shortcut_set.delete_form:
2   path: '/admin/config/user-interface/shortcut/manage/{shortcut_set}/delete'
3   defaults:
4     _entity_form: 'shortcut_set.delete'
5     _title: 'Delete shortcut set'
6   requirements:
7     _entity_access: 'shortcut_set.delete'
8
9 entity.shortcut_set.collection:
10   path: '/admin/config/user-interface/shortcut'
11   defaults:
12     _entity_list: 'shortcut_set'
13     _title: 'Shortcuts'
14   requirements:
15     _permission: 'administer shortcuts'
16
17 shortcut.set_add:
18   path: '/admin/config/user-interface/shortcut/add-set'
19   defaults:
20     _entity_form: 'shortcut_set.add'
21     _title: 'Add shortcut set'
22   requirements:
23     _entity_create_access: 'shortcut_set'
24
25 entity.shortcut_set.edit_form:
26   path: '/admin/config/user-interface/shortcut/manage/{shortcut_set}'
27   defaults:
28     _entity_form: 'shortcut_set.edit'
29     _title: 'Edit shortcut set'
30   requirements:
31     _entity_access: 'shortcut_set.update'
32
33 shortcut.link_add_inline:
34   path: '/admin/config/user-interface/shortcut/manage/{shortcut_set}/add-link-inline'
35   defaults:
36     _controller: 'Drupal\shortcut\Controller\ShortcutSetController::addShortcutLinkInline'
37   requirements:
38     _entity_access: 'shortcut_set.update'
39     _csrf_token: 'TRUE'
40
41 entity.shortcut_set.customize_form:
42   path: '/admin/config/user-interface/shortcut/manage/{shortcut_set}/customize'
43   defaults:
44     _entity_form: 'shortcut_set.customize'
45     _title: 'List links'
46   requirements:
47     _entity_access: 'shortcut_set.update'
48
49 shortcut.link_add:
50   path: '/admin/config/user-interface/shortcut/manage/{shortcut_set}/add-link'
51   defaults:
52     _controller: '\Drupal\shortcut\Controller\ShortcutController::addForm'
53     _title: 'Add link'
54   requirements:
55     _entity_create_access: 'shortcut:{shortcut_set}'
56
57 entity.shortcut.canonical:
58   path: '/admin/config/user-interface/shortcut/link/{shortcut}'
59   defaults:
60     _entity_form: 'shortcut.default'
61     _title: 'Edit'
62   requirements:
63     _entity_access: 'shortcut.update'
64     shortcut: \d+
65
66 entity.shortcut.edit_form:
67   path: '/admin/config/user-interface/shortcut/link/{shortcut}'
68   defaults:
69     _entity_form: 'shortcut.default'
70     _title: 'Edit'
71   requirements:
72     _entity_access: 'shortcut.update'
73     shortcut: \d+
74
75 entity.shortcut.link_delete_inline:
76   path: '/admin/config/user-interface/shortcut/link/{shortcut}/delete-inline'
77   defaults:
78     _controller: 'Drupal\shortcut\Controller\ShortcutController::deleteShortcutLinkInline'
79   requirements:
80     _entity_access: 'shortcut.delete'
81     _csrf_token: 'TRUE'
82     shortcut: \d+
83
84 entity.shortcut.delete_form:
85   path: '/admin/config/user-interface/shortcut/link/{shortcut}/delete'
86   defaults:
87     _entity_form: 'shortcut.delete'
88     _title: 'Delete'
89   requirements:
90     _entity_access: 'shortcut.delete'
91     shortcut: \d+
92
93 shortcut.set_switch:
94   path: '/user/{user}/shortcuts'
95   defaults:
96     _form: 'Drupal\shortcut\Form\SwitchShortcutSet'
97     _title: 'Shortcuts'
98   requirements:
99     _custom_access: 'Drupal\shortcut\Form\SwitchShortcutSet::checkAccess'
100   options:
101     _admin_route: TRUE
102     user: \d+