Digitalist Network // September 30 2016
Create menu items programmatically in Drupal 8
I will go through how to build a menu and menu items that is translatable in code. Let’s say for example we want to rebuild our main menu each time a user saves a node.