How to add sub-menu to Magento admin dashboard in Magento 2.2.5? I need to override the vendor file.

Refer my Screenshot.

enter image description here

Any help would be appreciated.


Try following way:


<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
        <update id="Magento_Backend::dashboard" title="Dashboard" translate="title" module="Magento_Backend" sortOrder="10" resource="Magento_Backend::dashboard"/>
        <add id="Magento_Backend::dashboard_sub" title="Dashboard" translate="title" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::dashboard" action="adminhtml/dashboard" resource="Magento_Backend::dashboard"/>
        <add id="Magento_Cms::cms_page_new" title="Pages" translate="title" module="Magento_Cms" sortOrder="0" parent="Magento_Backend::dashboard" action="cms/page" resource="Magento_Cms::page"/>

  • okay Sohel, sure I will try this and let you know. – Amy Jan 18 at 10:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.