taxonomy.routing.yml in Drupal 9
Same filename and directory in other branches
core/modules/taxonomy/taxonomy.routing.yml
8 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_term_is_page in core/
modules/ taxonomy/ taxonomy.module - Returns whether the current page is the page of the passed-in term.
- TermBreadcrumbBuilder::applies in core/
modules/ taxonomy/ src/ TermBreadcrumbBuilder.php - Whether this breadcrumb builder should be used to build the breadcrumb.
File
core/modules/taxonomy/taxonomy.routing.ymlView source
- entity.taxonomy_term.add_form:
- path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/add'
- defaults:
- _controller: '\Drupal\taxonomy\Controller\TaxonomyController::addForm'
- _title: 'Add term'
- requirements:
- _entity_create_access: 'taxonomy_term:{taxonomy_vocabulary}'
-
- entity.taxonomy_term.edit_form:
- path: '/taxonomy/term/{taxonomy_term}/edit'
- defaults:
- _entity_form: 'taxonomy_term.default'
- _title: 'Edit term'
- options:
- _admin_route: TRUE
- requirements:
- _entity_access: 'taxonomy_term.update'
- taxonomy_term: \d+
-
- entity.taxonomy_term.delete_form:
- path: '/taxonomy/term/{taxonomy_term}/delete'
- defaults:
- _entity_form: 'taxonomy_term.delete'
- _title: 'Delete term'
- options:
- _admin_route: TRUE
- requirements:
- _entity_access: 'taxonomy_term.delete'
- taxonomy_term: \d+
-
- entity.taxonomy_term.canonical:
- path: '/taxonomy/term/{taxonomy_term}'
- defaults:
- _entity_view: 'taxonomy_term.full'
- _title: 'Taxonomy term'
- _title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::termTitle'
- requirements:
- _entity_access: 'taxonomy_term.view'
- taxonomy_term: \d+