Pull merge.
[yaffs-website] / web / core / modules / taxonomy / taxonomy.routing.yml
1 entity.taxonomy_term.add_form:
2   path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/add'
3   defaults:
4     _controller: '\Drupal\taxonomy\Controller\TaxonomyController::addForm'
5     _title: 'Add term'
6   requirements:
7     _entity_create_access: 'taxonomy_term:{taxonomy_vocabulary}'
8
9 entity.taxonomy_term.edit_form:
10   path: '/taxonomy/term/{taxonomy_term}/edit'
11   defaults:
12     _entity_form: 'taxonomy_term.default'
13     _title: 'Edit term'
14   options:
15     _admin_route: TRUE
16   requirements:
17     _entity_access: 'taxonomy_term.update'
18     taxonomy_term: \d+
19
20 entity.taxonomy_term.delete_form:
21   path: '/taxonomy/term/{taxonomy_term}/delete'
22   defaults:
23     _entity_form: 'taxonomy_term.delete'
24     _title: 'Delete term'
25   options:
26     _admin_route: TRUE
27   requirements:
28     _entity_access: 'taxonomy_term.delete'
29     taxonomy_term: \d+
30
31 entity.taxonomy_term.canonical:
32   path: '/taxonomy/term/{taxonomy_term}'
33   defaults:
34     _entity_view: 'taxonomy_term.full'
35     _title: 'Taxonomy term'
36     _title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::termTitle'
37   requirements:
38     _entity_access: 'taxonomy_term.view'
39     taxonomy_term: \d+