Menu Twig is a Drupal module that allows you to render menu items using HTML or Twig code. It provides flexibility to customize menu structures, exclude specific items, and even include blocks within menu links, especially when integrated with the Twig Tweak module.
Menu twig is a Drupal module that provides text-area to render the HTML or twig extensions.
This module provides flexibility to exclude the menu item and rewrite code in your own pattern.
This module provides text area where you can also render the custom blocks and view blocks.
To enhance the module capability you can enable twig_tweak module so that we can also render the blocks inside the menu item.
Features
- Menu Twig module provides the text area with full HTML tags support.
- Menu Twig module provides the flexibility to exclude the menu item.
- Menu Twig allows HTML or twig syntax and can rewrite the menu structure code.
- Menu Twig enhances the capability by enable module i.e twig_tweak. The text area supports the twig syntax please find some examples.
Note: If we use some twig extensions like twig_tweak you can achieve more complex structure like mega menu.
Ask your assistant about Menu Twig
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- link Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.