Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / forum / src / Breadcrumb / ForumNodeBreadcrumbBuilder.php
index 1a359010a85bd6e3d0bcdbc134f6c50060435399..007fb9a63c739812a47f73855eafe1148fceb555 100644 (file)
@@ -26,7 +26,7 @@ class ForumNodeBreadcrumbBuilder extends ForumBreadcrumbBuilderBase {
     $breadcrumb = parent::build($route_match);
     $breadcrumb->addCacheContexts(['route']);
 
-    $parents = $this->forumManager->getParents($route_match->getParameter('node')->forum_tid);
+    $parents = $this->termStorage->loadAllParents($route_match->getParameter('node')->forum_tid);
     if ($parents) {
       $parents = array_reverse($parents);
       foreach ($parents as $parent) {