Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E716 Topic 3 Question 10 Discussion

Actual exam question for Adobe's AD0-E716 exam
Question #: 10
Topic #: 3
[All AD0-E716 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

The CLI command that the developer would use to update the admin url is magento-cloud variable:set ADMIN_URL. This command sets an environment variable called ADMIN_URL with a custom value for the admin url on a specific environment. Environment variables are configuration settings that affect the behavior of the Adobe Commerce Cloud application and services. By setting an environment variable for ADMIN_URL, the developer can change the default admin url to a unique url for every branch/environment of their Adobe Commerce Cloud project. Verified Reference: [Magento 2.4 DevDocs]


Contribute your Thoughts:

Coleen
6 hours ago
I'm not sure, but injecting the new action into the standard router constructor's $actionist parameter could also work.
upvoted 0 times
...
Yuette
4 days ago
I agree with Matthew, that way the new action won't interfere with the original module's functionality.
upvoted 0 times
...
Matthew
7 days ago
I think the developer should use the before or after parameters in the route declaration.
upvoted 0 times
...

Save Cancel