Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / forum / src / Breadcrumb / ForumBreadcrumbBuilderBase.php
index 63d2d86e706f95fa7dfa8315f4880de1a41b76de..04ce07ab3a7b23c17295b6c9af497c54db7e410a 100644 (file)
@@ -42,6 +42,13 @@ abstract class ForumBreadcrumbBuilderBase implements BreadcrumbBuilderInterface
    */
   protected $forumManager;
 
+  /**
+   * The taxonomy term storage.
+   *
+   * @var \Drupal\taxonomy\TermStorageInterface
+   */
+  protected $termStorage;
+
   /**
    * Constructs a forum breadcrumb builder object.
    *
@@ -59,6 +66,7 @@ abstract class ForumBreadcrumbBuilderBase implements BreadcrumbBuilderInterface
     $this->config = $config_factory->get('forum.settings');
     $this->forumManager = $forum_manager;
     $this->setStringTranslation($string_translation);
+    $this->termStorage = $entity_manager->getStorage('taxonomy_term');
   }
 
   /**