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.

CommentFileSizeAuthor
understanding-modules.asciidoc2.22 KBnikitas

Issue fork user_guide-3559773

Command icon 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

nikitas created an issue. See original summary.

avpaderno’s picture

Title: Suggestion for: (2827285) 1.2. Concept: Modules » Replace the definition of what a module is in "1.2. Concept: Modules"
Project: Documentation » User Guide
Version: » 11.x-dev
Component: Correction/Clarification » User Guide content
Issue summary: View changes

eojthebrave made their first commit to this issue’s fork.

eojthebrave’s picture

Status: Active » Fixed

Thanks 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.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • eojthebrave committed f05b12f2 on 11.x
    feat: #3559773 Replace the definition of what a module is in "1.2....

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.