Dec 10, 2019 in Drupal 8, Snippets

In drupal 7 you could use some contrib modules with a <nolink> tag to make subtitles in our menu. In drupal 8 I try to avoid contrib modules on my menu items. Here's a hint on how to get it to work.

Edit your menu item and add the following as the path:

route:<nolink> 

Done! You now have a valid menu item without a link.