Skip to content

Commit 760ee10

Browse files
author
Vitaliy
authored
Merge pull request #68 from vasilii-b/module-registration-php-template-description
Added the module's registration.php template description
2 parents 30837cc + 4ee58bd commit 760ee10

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!--
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
-->
7+
<html lang="en">
8+
<body>
9+
<p face="verdana" size="-1">
10+
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.
11+
</p>
12+
13+
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
14+
<tr>
15+
<td colspan="3"><font face="verdana" size="-1">Template's predefined variables:</font></td>
16+
</tr>
17+
<tr>
18+
<td valign="top"><nobr><font face="verdana" size="-2"><b>${PACKAGE}</b></font></nobr></td>
19+
<td width="10">&nbsp;</td>
20+
<td width="100%" valign="top"><font face="verdana" size="-1">Module's package name. Also know as Vendor name.</font></td>
21+
</tr>
22+
<tr>
23+
<td valign="top"><nobr><font face="verdana" size="-2"><b>${MODULE_NAME}</b></font></nobr></td>
24+
<td width="10">&nbsp;</td>
25+
<td width="100%" valign="top"><font face="verdana" size="-1">Module's name.</font></td>
26+
</tr>
27+
</table>
28+
</body>
29+
</html>

0 commit comments

Comments
 (0)