taxonomy.routing.yml
Same filename in other branches
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.
File
-
core/
modules/ taxonomy/ taxonomy.routing.yml
View 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+
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.