diff --git a/core/modules/taxonomy/src/TermBreadcrumbBuilder.php b/core/modules/taxonomy/src/TermBreadcrumbBuilder.php index 58d9ef5..1c32b41 100644 --- a/core/modules/taxonomy/src/TermBreadcrumbBuilder.php +++ b/core/modules/taxonomy/src/TermBreadcrumbBuilder.php @@ -50,7 +50,6 @@ public function build(RouteMatchInterface $route_match) { // hard-coded presumption. Make this behavior configurable per // vocabulary or term. $breadcrumb = array(); - $term = $this->entityManager->getTranslationFromContext($term); while ($parents = $this->entityManager->getStorage('taxonomy_term')->loadParents($term->id())) { $term = array_shift($parents); $term = $this->entityManager->getTranslationFromContext($term);