Which two actions are required to make the new page accessible at the https://your.store.base.url/admin/my_module/custom_entity URL?

The module MyCompany_MyModule will add a new page in the admin interface to display a custom entity in a grid.
You created a controller for this grid MyCompanyMyModuleControllerAdminhtmlCustomEntityIndex
Which two actions are required to make the new page accessible at the https://your.store.base.url/admin/my_module/custom_entity URL? (Choose two.)
A. Register my_module route for the AdminRouter in MyCompany/MyModule/etc/adminhtml/di.xml
B. Create a new menu item in MyCompany/MyModule/etc/adminhtml/menu.xml
C. Specify the my_module/custom_entity URL using a @route annotation in the action controller execute() method
D. Register my_module route in MyCompany/MyModule/etc/adminhtml/routes.xml

Download Printable PDF. VALID exam to help you PASS.

8 thoughts on “Which two actions are required to make the new page accessible at the https://your.store.base.url/admin/my_module/custom_entity URL?

  1. Answer 😀

    Regarding option B, we have a direct URL so not need to menu
    Regarding the option C, Magento is not used @route annotation but the symphony is this type of code please refer:
    /**
    * @Route(“/post/delete/{id}”, name=”delete_post_modal”)
    */
    public function deleteAction(Post $post)
    {
    // …
    }

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.