taxonomy.routing.yml
core/modules/taxonomy/taxonomy.routing.yml
6 string references to YAML keys in taxonomy.routing.yml
- TaxonomyHooks::entityOperation in core/
modules/ taxonomy/ src/ Hook/ TaxonomyHooks.php - Implements hook_entity_operation().
- 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.
- TermBreadcrumbBuilder::build in core/
modules/ taxonomy/ src/ TermBreadcrumbBuilder.php - Builds the breadcrumb.
- TermRouteContext::getRuntimeContexts in core/
modules/ taxonomy/ src/ ContextProvider/ TermRouteContext.php - Gets runtime context values for the given context IDs.
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+