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.
Problem/Motivation
According to the coding standards methods should use lowerCamel naming. Some form classes in core doesn't respect this standard and use ::getFormID. Functions and methods in PHP are case-insensitive so this is not an issue but be consistent and follow standards in core would be a good thing
Proposed resolution
Rename the remaining ::getFormID to ::getFormId
Remaining tasks
Make a patch
User interface changes
none
API changes
none
Comment | File | Size | Author |
---|---|---|---|
#1 | rename_the_remaining-2485983-1.patch | 13.63 KB | willzyx |
Comments
Comment #1
willzyx CreditAttribution: willzyx commentedComment #2
willzyx CreditAttribution: willzyx commentedComment #3
tstoecklerThanks, looks great!
Comment #4
alexpottCommitted 3d2b223 and pushed to 8.0.x. Thanks!