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.
In D7 Dries initiated the naming convention, that we don't munge words :)
Comment | File | Size | Author |
---|---|---|---|
#4 | Rename_module_from_Pollfield_to_Poll_Field-1192432-4.patch | 461 bytes | arti_parmar |
Comments
Comment #1
bryan kennedy CreditAttribution: bryan kennedy commentedCould you post a link to a doc page, blog post, or a video of a talk to support this standard? I'm not against it necessarily, it would just take some work and have a few deleterious effects on the module's findability in searches, drush, etc.
Comment #2
giorgio79 CreditAttribution: giorgio79 commentedSure Bryan, this is more for core, but I am hoping to see this field in there someday :)
http://drupal.org/coding-standards#naming
"Functions and variables should be named using lowercase, and words should be separated with an underscore."
Found a few mention of it, but I haven't found the one from Dries
http://drupal.org/node/619904#comment-2360890
This may not hold for Module names though, so do as you like, thought it would be neat to conform.
Comment #3
giorgio79 CreditAttribution: giorgio79 commentedAh finally found it
http://drupal.org/node/533222#comment-3157818
The last result for googling Drupal +"don't munge"
Comment #4
arti_parmar CreditAttribution: arti_parmar at Smashing Infolabs Pvt. Ltd. commentedI have applied a patch for "Rename module from "Pollfield" to "Poll Field"", kindly review patch.