taxonomy.routing.yml

Same filename in other branches
  1. 9 core/modules/taxonomy/taxonomy.routing.yml
  2. 10 core/modules/taxonomy/taxonomy.routing.yml
  3. 11.x core/modules/taxonomy/taxonomy.routing.yml
core/modules/taxonomy/taxonomy.routing.yml
9 string references to YAML keys in taxonomy.routing.yml
MethodFilterTest::testCollectionOrder in core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php
Ensures that the incoming and outgoing collections have the same order.
TaxonomyLocalTasksTest::getTaxonomyPageRoutes in core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php
Provides a list of routes to test.
TaxonomyLocalTasksTest::testTaxonomyPageLocalTasks in core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php
Checks taxonomy edit local tasks.
taxonomy_page_attachments_alter in core/modules/taxonomy/taxonomy.module
Implements hook_page_attachments_alter().
taxonomy_term_is_page in core/modules/taxonomy/taxonomy.module
Returns whether the current page is the page of the passed-in term.

... See full list

File

core/modules/taxonomy/taxonomy.routing.yml

View source
  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. entity.taxonomy_term.edit_form:
  9. path: '/taxonomy/term/{taxonomy_term}/edit'
  10. defaults:
  11. _entity_form: 'taxonomy_term.default'
  12. _title: 'Edit term'
  13. options:
  14. _admin_route: TRUE
  15. requirements:
  16. _entity_access: 'taxonomy_term.update'
  17. taxonomy_term: \d+
  18. entity.taxonomy_term.delete_form:
  19. path: '/taxonomy/term/{taxonomy_term}/delete'
  20. defaults:
  21. _entity_form: 'taxonomy_term.delete'
  22. _title: 'Delete term'
  23. options:
  24. _admin_route: TRUE
  25. requirements:
  26. _entity_access: 'taxonomy_term.delete'
  27. taxonomy_term: \d+
  28. entity.taxonomy_term.canonical:
  29. path: '/taxonomy/term/{taxonomy_term}'
  30. defaults:
  31. _entity_view: 'taxonomy_term.full'
  32. _title: 'Taxonomy term'
  33. _title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::termTitle'
  34. requirements:
  35. _entity_access: 'taxonomy_term.view'
  36. taxonomy_term: \d+

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.