From 29f4a2570ebcb502b8a3c56fea32886e50d668f4 Mon Sep 17 00:00:00 2001 From: Shankar Konar Date: Fri, 23 Oct 2020 18:21:07 +0530 Subject: [PATCH] Routes.xml code template added --- .../Magento Php Preference Class.php.html | 2 +- .../internal/Magento Routes Xml.xml.html | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/resources/fileTemplates/internal/Magento Php Preference Class.php.html b/resources/fileTemplates/internal/Magento Php Preference Class.php.html index 476c0df47..1b910633d 100644 --- a/resources/fileTemplates/internal/Magento Php Preference Class.php.html +++ b/resources/fileTemplates/internal/Magento Php Preference Class.php.html @@ -20,7 +20,7 @@ Read more About the preferences in the DevDocs.
- diff --git a/resources/fileTemplates/internal/Magento Routes Xml.xml.html b/resources/fileTemplates/internal/Magento Routes Xml.xml.html index e69de29bb..28926142d 100644 --- a/resources/fileTemplates/internal/Magento Routes Xml.xml.html +++ b/resources/fileTemplates/internal/Magento Routes Xml.xml.html @@ -0,0 +1,43 @@ + + + +
+ + + + + + +
+ The routes.xml file maps which module to use for a URL with a specific frontName and area. + The location of the routes.xml file in a module, either etc/frontend or etc/adminhtml, specifies where those routes are active. +
+
+ Read more About the routes.xml in the + + DevDocs. +
+
+ + + + + + + + + +
Predefined variables explanation:
${ROUTER_ID} specifies the name of the router in Magento. + See the reference tables in the + + Router class section + . + +
+ + \ No newline at end of file