Creating Dynamic Menu Item module as part of Drupal Global Training day.

Creating Dynamic Menu Item module as part of Drupal Global Training day.

In August 2018 I ran Drupal Global Training day for PHP developers where I proposed to start working on Dynamic Menu Item module.
Vladimir Roudakov

Introduction

In August 2018 I ran Drupal Global Training day for PHP developers where I proposed to start working on Dynamic Menu Item module. Requirements were as follows:​

  • configuration: user defines a menu item: title, description, weight and parent

  • configuration: user defines content types she can assign to the node and text to appear in “publishing options “ section

  • user should have ability to assign the node to particular menu item

Less than a month later thanks to a few keen individuals we turned concepts into alpha1 release.

 

Dynamic Menu Item module​

So what can we currently do with Dynamic Menu Item?

First, download the module using composer

 

composer require drupal/dynamic_menu_item

After installing and enabling module head to Manage > Structure > Menus > Dynamic Menu Item