You are here

taxonomy.routing.yml in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/taxonomy/taxonomy.routing.yml
core/modules/taxonomy/taxonomy.routing.yml

File

core/modules/taxonomy/taxonomy.routing.yml
View source
  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. entity.taxonomy_term.add_form:
  9. path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/add'
  10. defaults:
  11. _controller: '\Drupal\taxonomy\Controller\TaxonomyController::addForm'
  12. _title: 'Add term'
  13. requirements:
  14. _entity_create_access: 'taxonomy_term:{taxonomy_vocabulary}'
  15. entity.taxonomy_term.edit_form:
  16. path: '/taxonomy/term/{taxonomy_term}/edit'
  17. defaults:
  18. _entity_form: 'taxonomy_term.default'
  19. _title: 'Edit term'
  20. options:
  21. _admin_route: TRUE
  22. requirements:
  23. _entity_access: 'taxonomy_term.update'
  24. taxonomy_term: \d+
  25. entity.taxonomy_term.delete_form:
  26. path: '/taxonomy/term/{taxonomy_term}/delete'
  27. defaults:
  28. _entity_form: 'taxonomy_term.delete'
  29. _title: 'Delete term'
  30. options:
  31. _admin_route: TRUE
  32. requirements:
  33. _entity_access: 'taxonomy_term.delete'
  34. taxonomy_term: \d+
  35. entity.taxonomy_vocabulary.add_form:
  36. path: '/admin/structure/taxonomy/add'
  37. defaults:
  38. _entity_form: 'taxonomy_vocabulary'
  39. _title: 'Add vocabulary'
  40. requirements:
  41. _entity_create_access: 'taxonomy_vocabulary'
  42. entity.taxonomy_vocabulary.edit_form:
  43. path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}'
  44. defaults:
  45. _entity_form: 'taxonomy_vocabulary.default'
  46. _title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::vocabularyTitle'
  47. requirements:
  48. _entity_access: 'taxonomy_vocabulary.update'
  49. entity.taxonomy_vocabulary.delete_form:
  50. path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/delete'
  51. defaults:
  52. _entity_form: 'taxonomy_vocabulary.delete'
  53. _title: 'Delete vocabulary'
  54. requirements:
  55. _entity_access: 'taxonomy_vocabulary.delete'
  56. entity.taxonomy_vocabulary.reset_form:
  57. path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/reset'
  58. defaults:
  59. _entity_form: 'taxonomy_vocabulary.reset'
  60. _title: 'Reset'
  61. requirements:
  62. _permission: 'administer taxonomy'
  63. entity.taxonomy_vocabulary.overview_form:
  64. path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/overview'
  65. defaults:
  66. _form: 'Drupal\taxonomy\Form\OverviewTerms'
  67. _title_callback: 'Drupal\taxonomy\Controller\TaxonomyController::vocabularyTitle'
  68. requirements:
  69. _entity_access: 'taxonomy_vocabulary.view'
  70. entity.taxonomy_term.canonical:
  71. path: '/taxonomy/term/{taxonomy_term}'
  72. defaults:
  73. _entity_view: 'taxonomy_term.full'
  74. _title: 'Taxonomy term'
  75. _title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::termTitle'
  76. requirements:
  77. _entity_access: 'taxonomy_term.view'
  78. taxonomy_term: \d+