Adding a non-link element to the end of the breadcrumb
You can do almost like in your suggestion. You just need to use '&lt;none&gt;' instead of 'nothing!'.

$b-&gt;addLink(Link::createFromRoute($this-&gt;t('Recipe'), '&lt;none&gt;'));