Here, we will learn how to hide the admin menu based on the module enable and disable from system configuration. Follow the below steps to achieve this: Add the below code into your existing menu.xml File path: app\code\Vendor\Extension\etc\adminhtml\menu.xml let us know via the comment box if you need any help on this, we will be …