From 2c1617528a733387f18fd0e20b9e67ddf2b58d95 Mon Sep 17 00:00:00 2001 From: Vasilii Burlacu Date: Tue, 31 Mar 2020 17:33:24 +0300 Subject: [PATCH 1/2] Added the module's registration template description --- .../Magento Module Registration Php.php.html | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 resources/fileTemplates/internal/Magento Module Registration Php.php.html diff --git a/resources/fileTemplates/internal/Magento Module Registration Php.php.html b/resources/fileTemplates/internal/Magento Module Registration Php.php.html new file mode 100644 index 000000000..5fef30eaf --- /dev/null +++ b/resources/fileTemplates/internal/Magento Module Registration Php.php.html @@ -0,0 +1,23 @@ + + +

+ registration.php file is a must-have file for the Magento 2 module. Without it the module is not registered into the Magento 2 system, those the module won't work. +

+ + + + + + + + + + + + + + + +
Template's predefined variables:
${PACKAGE} Module's package name. Also know as Vendor name.
${MODULE_NAME} Module's name.
+ + From 4ee58bd69cc83d575fefe708740f39b557303953 Mon Sep 17 00:00:00 2001 From: Vasilii Burlacu Date: Tue, 31 Mar 2020 17:48:06 +0300 Subject: [PATCH 2/2] Added the file copyrights --- .../internal/Magento Module Registration Php.php.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/fileTemplates/internal/Magento Module Registration Php.php.html b/resources/fileTemplates/internal/Magento Module Registration Php.php.html index 5fef30eaf..2d9e9d2ca 100644 --- a/resources/fileTemplates/internal/Magento Module Registration Php.php.html +++ b/resources/fileTemplates/internal/Magento Module Registration Php.php.html @@ -1,3 +1,9 @@ +