Documentation location/URL
https://www.drupal.org/docs/user_guide/en/understanding-modules.html
Problem/Motivation
A module is a set of PHP, JavaScript, and/or CSS files that extends site features and adds functionality. Since we are referring the type of files a module can have then yaml and twig template files are missing from the definition.
Proposed resolution
Replace the definition of what a module is with this:
A module is a package of files that extends Drupal's core functionality. Modules typically contain PHP code, configuration (YAML), and may include JavaScript, CSS, and Twig template files or simpler: A module extends Drupal functionality through code files including PHP, YAML configuration, and optionally JavaScript, CSS, and Twig templates.
| Comment | File | Size | Author |
|---|---|---|---|
| understanding-modules.asciidoc | 2.22 KB | nikitas |
Issue fork user_guide-3559773
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
avpadernoComment #5
eojthebraveThanks for the suggestion. I've made the changes to the English source files. This will need to be updated in the various translations as well.