QuestionQ13Verified/ArchitectureCopy linkReport a problemAsk AstroTutorSave questionWhich file is used to add a custom router class to the router list?Aroutes.xmlBdi.xmlCconfig.xmlShow AnswerAnswerExplanationA custom router is added to Magento\Framework\App\RouterList through dependency-injection configuration in the module’s etc/frontend/di.xml file. routes.xml maps a front name to a module for standard routing; it does not register a custom router class.Learn moreAdobe Commerce RoutingShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion