diff --git a/core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php b/core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php
index fc1906ad93..e4c75d0f6a 100644
--- a/core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php
+++ b/core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php
@@ -66,6 +66,24 @@ public function addLink(Link $link) {
   }
 
   /**
+   * Removes a link from the ordered list of breadcrumb links.
+   *
+   * @param \Drupal\Core\Link $link
+   *   The link removed from the breadcrumb.
+   *
+   * @return $this
+   */
+  public function removeLink(Link $link) {
+    foreach ($this->links as $key => $value) {
+      if ($value->getUrl()->getRouteName() == $link->getUrl()->getRouteName()) {
+        unset($this->links[$key]);
+      }
+    }
+
+    return $this;
+  }
+
+  /**
    * {@inheritdoc}
    */
   public function toRenderable() {
