How to get all parent menu items' titles of the current node?
Even shorter using the MenuActiveTrailInterface.

$node_id = $node-&gt;id();
$menu_link_manager = \Drupal::service('plugin.manager.menu.link');
$menu_link = $menu_link_manager-&gt;loadLinksByRoute('entity.node.canonical', array('node' =&gt; $node_id));
$currentPluginId = $menu_link-&gt;getPluginId();
$trailIds = $this-&gt;menuActiveTrail-&gt;getActiveTrailIds('main');

foreach (array_reverse($trailIds) as $key =&gt; $value) {
  if ($value &amp;&amp; $value !== $currentPluginId) {
    $breadcrumb-&gt;addLink(
      new Link(
        $menu_link_manager-&gt;createInstance($value)-&gt;getTitle(),
        $menu_link_manager-&gt;createInstance($value)-&gt;getUrlObject()
      )
    );
  }
}