New module to limit the amount of menu items per menu

In a recent project, we had to provide a way to easily limit the amount of menu items for several menus separately. Drupal does not provide this functionality out of the box so we had to hit the keyboard and take care of this functionality on our own. The result is our newest contrib module Menu Item Limit.


Installing the module is easy and does not require any magic. Just drop it in your sites/all/modules/contrib/ folder with the rest of your contributed modules and activate it on the modules page.


Per default, every menu has the ability to hold unlimited amount of menu items. You can set a custom limit by editing a menu on /admin/structure/menu, i.e. the main menu. Enter any number you want greater than 0 to set a limit. Entering 0 will remove the limit.



That's pretty much it. Now you have a nice and easy way to control your menus.

Lucio Waßill
  • Head of Development
  • Drupal Developer
  • Scrum-Master

Lucio is originally from Leipzig and, unlike the other East Germans on the team, has not yet fled to the West. Since 2007 Lucio works with Drupal and is both an all-rounder in Drupal development as well as in project management and DevOps.

If he does not work for undpaul, he is a music junkie and runs a small online music magazine. He is also passionate about playing volleyball and looks after other volleyball players aged 18-64.

In addition, Lucio has studied Business Informatics, is Acquia Certified Developer and certified Scrum Master.