How to use Admin Sidebar in Magento2
Here we will learn the use of admin sidebar in Magento2 with the following steps:
- Step 1: Create menu.XML file,
- Step 2: Add menu items,
- Step 3: Set menu is active by controller file.As we already know that a Menu is nothing but a link that leads to you a new page of Admin Configuration. Now let’s quickly come to the above mentioned steps.
Step 1: Create menu.XML file
File Directory: app/code/Magestore/CustomMenu/etc/adminhtml/menu.xml