This is a Drupal 8 to Drupal 8 change record
ThirdPartySettingsTrait has been removed. Configuration entity classes that have been using it can remove it. If the class is extending ConfigEntityBase
then it will automatically get the same third party setting support. If your configuration entity does not extend ConfigEntityBase
then you will need to implement the methods from ThirdPartySettingsInterface in the class and take care to handle dependency removal using ConfigEntityInterface::onDependencyRemoval()
.
The configuration schema for modules that implement third party settings has also changed. Each configuration entity schema used an arbitrary pattern for example, field_config.third_party.MODULE_NAME
or node_type.third_party.MODULE_NAME
. This has been changed to use the configuration entity's schema type (reminder: [entity_type_defining_module].[config_prefix]....
). The previous examples are now field.field.*.*.*.third_party.MODULE_NAME
and node.type.*.third_party.MODULE_NAME