-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaxonomy.routing.yml
34 lines (30 loc) · 1.02 KB
/
taxonomy.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
taxonomy_vocabulary_list:
pattern: '/admin/structure/taxonomy'
defaults:
_entity_list: 'taxonomy_vocabulary'
requirements:
_permission: 'administer taxonomy'
taxonomy_term_add:
pattern: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/add'
defaults:
_content: '\Drupal\taxonomy\Controller\TaxonomyController::addForm'
requirements:
_access_taxonomy_term_create: 'taxonomy_term'
taxonomy_term_delete:
pattern: '/taxonomy/term/{taxonomy_term}/delete'
defaults:
_entity_form: 'taxonomy_term.delete'
requirements:
_entity_access: 'taxonomy_term.delete'
taxonomy_vocabulary_delete:
pattern: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/delete'
defaults:
_entity_form: 'taxonomy_vocabulary.delete'
requirements:
_entity_access: 'taxonomy_vocabulary.delete'
taxonomy_vocabulary_reset:
pattern: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/reset'
defaults:
_entity_form: 'taxonomy_vocabulary.reset'
requirements:
_permission: 'administer taxonomy'