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
As discussed in #2224761-145: Add a generic way to add third party configuration on configuration entities and implement for field configuration and later, \Drupal\Core\Config\Entity\ThirdPartySettingsTrait::third_party_settings
is not camelcased, as it should have been according our coding standards.
Proposed resolution
Camelcase the property.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal_2345097_1.patch | 2.11 KB | Xano |
Comments
Comment #1
XanoComment #3
yched CreditAttribution: yched commentedI don't understand this. As discussed in the issue, HEAD currently uses underscores for ConfigEnttity class members that live in yaml. So why would we change third_party_settings specifically ?
Comment #4
XanoBecause we keep adding more and more code to core that does not comply with our coding standards.
Comment #5
yched CreditAttribution: yched commentedNone of core config entities comply with our coding standards, so let's align ThirdPartySettingsTrait to camelcase when the rest is in camlcase too. Sorry, I really don't see why we would treat ThirdPartySettingsTrait differently than the rest of core.
Comment #6
Xano@yched and I hugged at DrupalCon. We're good.
Comment #7
yched CreditAttribution: yched commented@Xano: it was a back-stab hug, I have a cold. Muhaha.
Comment #8
XanoI made sure our docs reflect this: https://www.drupal.org/node/608152/revisions/view/7493713/7732127