Update 05_Template_Inheritance.md

Documentation mentions themes when talking about modules.
This commit is contained in:
Federico Jaramillo Martínez 2018-09-09 10:07:49 -05:00 committed by GitHub
parent 373a8afeb5
commit 6e2b4c2558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ SilverStripe\View\SSViewer:
### Declaring module priority
The order in which templates are selected from themes can be explicitly declared
The order in which templates are selected from modules can be explicitly declared
through configuration. To specify the order you want, make a list of the module
names under `SilverStripe\Core\Manifest\ModuleManifest.module_priority` in a
configuration YAML file.
@ -168,7 +168,7 @@ to find out how to rename this folder.
### About module "names"
Module names are derived their local `composer.json` files using the following precedence:
Module names are derived from their local `composer.json` files using the following precedence:
* The value of the `name` attribute in `composer.json`
* The value of `extras.installer_name` in `composer.json`
* The basename of the directory that contains the module