Web Analytics

Fill the form & Get Installation Support





    In this guide, we are going to show you how to create a custom admin menu in Magento 2.

    The first step is to create a module.

    Let’s give the module a name. Call it: Magemonkey_Newadminmenu

    Then, create registration.php file

    create module.xml file in etc/

    create menu.xml file in etc/adminhtml/

    Know the description for element variables in code:

    id: The unique identifier for the custom admin menu
    title: The title will be shown as a menu name
    Module: Magemonkey_Newadminmenu (name of the current module)
    sortOrder: Set custom admin menu order
    resource: The rule for admin users can access the custom admin menu
    Action: Link for admin controller URL
    parent: Name of the parent menu which custom menu depends on sub menu

    After running this command for install that module

    Now It will be shown in admin menu as seen in the below image.

     

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Author Image

      Magento 2 Developer

      Hire P. Garchar

      Get a Free Quote





        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.