magento2-menu
magento2-menu copied to clipboard
Feature/102193
This feature allows you to use the same custom template for several menus. To do this, when declaring the menu in the xml file, add the parameter "menu_template_dir" It should look like this:
<block name="menu-1" class="Snowdog\Menu\Block\Menu">
<arguments>
<argument name="menu" xsi:type="string">menu-1</argument>
<argument name="menu_template_dir" xsi:type="string">custom-menu</argument>
</arguments>
</block>