Backup of db before drupal security update
[yaffs-website] / web / core / modules / taxonomy / taxonomy.routing.yml
1 entity.taxonomy_vocabulary.collection:
2   path: '/admin/structure/taxonomy'
3   defaults:
4     _entity_list: 'taxonomy_vocabulary'
5     _title: 'Taxonomy'
6   requirements:
7     _permission: 'administer taxonomy'
8
9 entity.taxonomy_term.add_form:
10   path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/add'
11   defaults:
12     _controller: '\Drupal\taxonomy\Controller\TaxonomyController::addForm'
13     _title: 'Add term'
14   requirements:
15     _entity_create_access: 'taxonomy_term:{taxonomy_vocabulary}'
16
17 entity.taxonomy_term.edit_form:
18   path: '/taxonomy/term/{taxonomy_term}/edit'
19   defaults:
20     _entity_form: 'taxonomy_term.default'
21     _title: 'Edit term'
22   options:
23     _admin_route: TRUE
24   requirements:
25     _entity_access: 'taxonomy_term.update'
26     taxonomy_term: \d+
27
28 entity.taxonomy_term.delete_form:
29   path: '/taxonomy/term/{taxonomy_term}/delete'
30   defaults:
31     _entity_form: 'taxonomy_term.delete'
32     _title: 'Delete term'
33   options:
34     _admin_route: TRUE
35   requirements:
36     _entity_access: 'taxonomy_term.delete'
37     taxonomy_term: \d+
38
39 entity.taxonomy_vocabulary.add_form:
40   path: '/admin/structure/taxonomy/add'
41   defaults:
42     _entity_form: 'taxonomy_vocabulary'
43     _title: 'Add vocabulary'
44   requirements:
45     _entity_create_access: 'taxonomy_vocabulary'
46
47 entity.taxonomy_vocabulary.edit_form:
48   path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}'
49   defaults:
50     _entity_form: 'taxonomy_vocabulary.default'
51     _title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::vocabularyTitle'
52   requirements:
53     _entity_access: 'taxonomy_vocabulary.update'
54
55 entity.taxonomy_vocabulary.delete_form:
56   path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/delete'
57   defaults:
58     _entity_form: 'taxonomy_vocabulary.delete'
59     _title: 'Delete vocabulary'
60   requirements:
61     _entity_access: 'taxonomy_vocabulary.delete'
62
63 entity.taxonomy_vocabulary.reset_form:
64   path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/reset'
65   defaults:
66     _entity_form: 'taxonomy_vocabulary.reset'
67     _title: 'Reset'
68   requirements:
69     _permission: 'administer taxonomy'
70
71 entity.taxonomy_vocabulary.overview_form:
72   path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/overview'
73   defaults:
74     _form: 'Drupal\taxonomy\Form\OverviewTerms'
75     _title_callback: 'Drupal\taxonomy\Controller\TaxonomyController::vocabularyTitle'
76   requirements:
77     _entity_access: 'taxonomy_vocabulary.view'
78
79 entity.taxonomy_term.canonical:
80   path: '/taxonomy/term/{taxonomy_term}'
81   defaults:
82     _entity_view: 'taxonomy_term.full'
83     _title: 'Taxonomy term'
84     _title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::termTitle'
85   requirements:
86     _entity_access: 'taxonomy_term.view'
87     taxonomy_term: \d+