How to Create Menu for our custom module in Admin Panel

 

How to Create Menu for our custom module in Admin Panel

Hi Magento friend today's im share How to Create Menu for our custom module in Admin Panel

we will have to add link in admin menu for which we need to create menu.xml

Create app/code/Mageget/Grid/etc/adminhtml/menu.xml file

Menu Name – Mageget

Sub-Menu Name – Articles


<?xml version="1.0"?>

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">

    <menu>

    <add id="Mageget_Grid::gridmanager" title="Mageget" module="Mageget_Grid" sortOrder="10" resource="Mageget_Grid::gridmanager"/>

    <add id="Mageget_Grid::create" title="Grid Manager" module="Mageget_Grid" sortOrder="20" parent="Mageget_Grid::gridmanager" action="mageget/grid/index" resource="Mageget_Grid::create"/>

    </menu>

</config>








Deepak Kumar Bind

Success is peace of mind, which is a direct result of self-satisfaction in knowing you made the effort to become the best of which you are capable.

Post a Comment

If you liked this post please do not forget to leave a comment. Thanks

Previous Post Next Post