Capitalize the name of the module, because module names are proper nouns.
Also according to Drupal standards, modules should include dependencies in the .info.yml file.
Dependencies should be namespaced in the format {project}:{module}, where {project} is the project name as it appears in the Drupal.org URL (e.g. drupal.org/project/views) and {module} is the module's machine name.
https://www.drupal.org/docs/8/creating-custom-modules/let-drupal-8-know-...
Patch to follow, thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screen Shot 2019-02-06 at 3.40.33 PM.png | 13.51 KB | alonaoneill |
| #2 | flag_conditional_confirm-info-3031166-2.patch | 421 bytes | aimeerae |
Comments
Comment #2
aimeeraeI uploaded a patch that Capitalize the name of the module and dependency namespacing in the .info.yml file.
Thanks!
Comment #3
alonaoneill commentedCode looks good, the name of the module is now capitalized on the Extend page. Screenshot provided." The dependency namespacing aligns with Drupal documentation standards.
Marking as RTBC
Thank you for working on the module!
Comment #4
jrbIs each word actually supposed to be capitalized? A standard in Drupal in many places seems to be to capitalize the first word, but not all. Just on the first page of results here, there are 3 with lowercase words:
https://www.drupal.org/project/project_module
Administration menu
CKEditor - WYSIWYG HTML editor
XML sitemap
Comment #6
jrbI checked core modules and confirmed that those modules have each word in their names capitalized. I've committed this patch and will create a new alpha. Thanks!
Comment #7
jrb