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.

CommentFileSizeAuthor
#1 drupal_2345097_1.patch2.11 KBXano
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Xano’s picture

FileSize
2.11 KB

Status: Needs review » Needs work

The last submitted patch, 1: drupal_2345097_1.patch, failed testing.

yched’s picture

I 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 ?

Xano’s picture

Because we keep adding more and more code to core that does not comply with our coding standards.

yched’s picture

Status: Needs work » Closed (won't fix)

None 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.

Xano’s picture

@yched and I hugged at DrupalCon. We're good.

yched’s picture

@Xano: it was a back-stab hug, I have a cold. Muhaha.

Xano’s picture