Magento 2 Certification Questions List | How to handl customer url type

You are building a new module that needs to utilize a custom URL path like: /maps/{MAP_ID}

What steps do you take to accomplish this?

Answer:
  • In di.xml, add your router to the RouterList class' routerList parameter.
  • Create a class that extends RouterInterface
Prepear for Magento 2 certefication with our interactive quiz