Adobe Commerce Developer Expert AD0-E716 Question # 20 Topic 3 Discussion

Adobe Commerce Developer Expert AD0-E716 Question # 20 Topic 3 Discussion

AD0-E716 Exam Topic 3 Question 20 Discussion:
Question #: 20
Topic #: 3

An Adobe Commerce Developer wishes to add an action to a pre-existing route, but does not wish to interfere with the functionality of the actions from the original route.

What must the developer do to ensure that their action works without any side effects in the original module?


A.

In the route declaration, use the before or after parameters to load their module in before or after the original module.


B.

Inject the new action into the standard router constructor's $actiomist parameter.


C.

Add the action into to the controllers/front_name/ in My.Module, Magento will automatically detect and use it.


Get Premium AD0-E716 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.