Exam4Training

What do you specify as the menu item action attribute value so it links to /admin/mycompany/mymodule/?

You are adding a new menu item to the admin backend which will link to a custom backend page.

The declaration of the route:

What do you specify as the menu item action attribute value so it links to /admin/mycompany/mymodule/?
A . action=”adminhtml/mycompany/mymodule/”
B . action=”admin/mycompany/mymodule/”
C . It is not possible without extending the adminhtml route in routes.xml
D . action=”mycompany/mymodule/”

Answer: D

Explanation:

Reference: https://magento.stackexchange.com/questions/92236/magento-2-custom-admin-action­redirected-to-dashboard

Exit mobile version