Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dcadf49

Browse files
Merge pull request magento#1524 from likemusic/patch-19
Update mod_intro.md
2 parents 68fed5e + 0ae567f commit dcadf49

File tree

1 file changed

+8
-3
lines changed
  • guides/v2.0/architecture/archi_perspectives/components/modules

1 file changed

+8
-3
lines changed

guides/v2.0/architecture/archi_perspectives/components/modules/mod_intro.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,14 @@ See <a href="{{page.baseurl}}architecture/archi_perspectives/components/modules/
3434

3535
## Where do modules live?
3636

37-
Modules typically live in the `vendor` directory of a Magento installation, in a directory with the following PSR-0 compliant format: `vendor/<vendor>/module-<module-mame>`. For example, the Customer module of Magento can be found at `vendor/magento/module-customer`.
38-
39-
But if you are creating a new module for distribution, you can just create the `app/code/<Vendor>/<ModuleName>` directory and the required directories within it.
37+
Modules typically live in the `vendor` directory of a Magento installation, in a directory with the following PSR-0 compliant format: `vendor/<vendor>/<type>-<module-mame>`, where `<type>` can be one of the following values:
38+
- **`module`** - for modules (`module-customer-import-export`)
39+
- **`theme`** - for frontend and admin themes (`theme-frontend-luma` or `theme-adminhtml-backend`)
40+
- **`language`** - for language packs (`language-de_de`)
41+
42+
For example, the Customer Import/Export module of Magento can be found at `vendor/magento/module-customer-import-export`.
43+
44+
But if you are creating a new module for distribution, you can just create the `app/code/<vendor>/<type>-<module-name>` directory and the required directories within it.
4045

4146
Inside this folder, you will find all the code related to this module, including the `etc/module.xml` file, which contains the name and version of the module, as well as any dependencies.
4247

0 commit comments

Comments
 (0)