Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Capitalize the name of the module, because module names are proper nouns.
https://www.drupal.org/docs/8/creating-custom-modules/let-drupal-8-know-...
Patch to follow, thanks!
Comment | File | Size | Author |
---|---|---|---|
#12 | capitalize-the-module-name-3050890-12.patch | 5.01 KB | rpsu |
| |||
#5 | with_patch_registration_code.png | 22.13 KB | krina.addweb |
#5 | without_patch_registration_code.png | 22.35 KB | krina.addweb |
#4 | Screen Shot 2019-04-25 at 7.02.46 PM.png | 22.21 KB | alonaoneill |
#2 | regcode_simple-info-3050890-2.patch | 408 bytes | alonaoneill |
Comments
Comment #2
alonaoneill CreditAttribution: alonaoneill at Hook 42 commentedI uploaded a patch that Capitalize the name of the module in the .info.yml file.
Thanks!
Comment #4
alonaoneill CreditAttribution: alonaoneill at Hook 42 commentedThe name of the module is now capitalized on the Extend page. Screenshot provided
Please review
Comment #5
krina.addweb CreditAttribution: krina.addweb at AddWeb Solution Pvt. Ltd. commented@alonaoneill, Thanks for the patch. Your patch is working fine as I tested mentioned changes using simplytest.me over Extend page. PFA
Comment #6
apadernoTo give more context: User interface standards / Interface text (Module and theme names) says that module and theme names should use title case capitalization.
Comment #7
rpsuThe patch fixes module name, but not tests - which breaks the tests (as seen above).
Comment #8
apadernoI corrected the module name in all the files, including code and tests.
Comment #10
apadernoIt doesn't seem the failure is caused from the module name change.
Comment #11
rpsuLet's try to re-run the tests. #3052856: Fix linter issues (DCS, PHP 7) probably has fixed the issues with linter.
Comment #12
rpsuLet's try again, patch is now rebuilt against current HEAD.
Comment #13
rpsuComment #15
rpsuPatch committed, thanks!