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 \MyCompany\MyModule\Controller\Adminhtml\CustomEntity\Index
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.)
Your module, MyCompany_MyModule, is using the frontName mymodule. You need to locate the class responsible for the frontend path /mymodule/custom.
What file contains the controller class for the frontend path /mymodule/custom?
There are two different configurable products which both share one variation. The shared variation is represented by the same simple product.
A customer added both configurables to the cart with the same selected variation?
How will they be displayed?
A module you are developing requires the addition of new routes that should be accessible in the store front.
Where do you define your module’s frontName?
The constructor function for \Magento\Catalog\Model\Category contains this excerpt:
With the automatic dependency injection that Magento provides, how is the StoreManagerInterface resolved?
You have configured an event observer to watch the checkout_submit_all_after event using this XML:
What is the required class definition for the event observer?
You are working on a Magento store which will be selling in two countries. Each country has its own set of payment methods.
How do you organize the project to support this requirement?
A merchant gives you the module MyCompany_MyModule to install.
How do you identify which REST endpoints are supported by the module?
Your module adds a new controller class which will return a JSON response.
What will be the return type of the execute method?
A custom module must make changes to the schema following each setup:upgrade run. This must be done after all other module’s schema updates have been applied.
How is this accomplished?