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.
\Drupal\Core\Form\FormInterface::getFormID()
does not comply with the coding standards, as we do not use uppercase acronyms in camelcased names. The method should be named getFormId()
instead.
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal_2111209_2.patch | 65.15 KB | Xano |
Comments
Comment #1
XanoSome forms already use
getFormId()
rather thangetFormID()
, such as\Drupal\taxonomy\Form\OverviewTerms
.Comment #2
XanoComment #3
amateescu CreditAttribution: amateescu commentedYup.
Comment #4
alexpottCommitted b201c05 and pushed to 8.x. Thanks!
Comment #5
jhodgdonNot sure why you assigned this to me? Our OO naming standards already say to do this for acronyms:
https://drupal.org/node/608152#naming
Comment #6
tstoecklerSee you in #2113243: Rename BaseFormIdInterface::getBaseFormID() to BaseFormIdInterface::getBaseFormId()!