diff --git a/core/config/schema/core.data_types.schema.yml b/core/config/schema/core.data_types.schema.yml index 0c9ad70..3ca97c1 100644 --- a/core/config/schema/core.data_types.schema.yml +++ b/core/config/schema/core.data_types.schema.yml @@ -177,11 +177,6 @@ theme_settings: use_default: type: boolean label: 'Use default' - third_party_settings: - type: sequence - label: 'Third party settings' - sequence: - - type: theme_settings.third_party.[%key] theme_breakpoints_default: type: sequence @@ -269,6 +264,11 @@ config_entity: dependencies: type: config_dependencies label: 'Dependencies' + third_party_settings: + type: sequence + label: 'Third party settings' + sequence: + - type: fixme.third_party.[%key] block_settings: type: mapping @@ -393,11 +393,6 @@ field_config_base: label: 'Default value callback' settings: type: field.field_settings.[%parent.field_type] - third_party_settings: - type: sequence - label: 'Third party settings' - sequence: - - type: field_config.third_party.[%key] field_type: type: string label: 'Field type' diff --git a/core/config/schema/core.entity.schema.yml b/core/config/schema/core.entity.schema.yml index 8de3f33..e7f9893 100644 --- a/core/config/schema/core.entity.schema.yml +++ b/core/config/schema/core.entity.schema.yml @@ -25,9 +25,6 @@ core.entity_view_mode.*.*: langcode: type: string label: 'Default language' - dependencies: - type: config_dependencies - label: 'Dependencies' core.entity_form_mode.*.*: type: config_entity @@ -96,11 +93,6 @@ core.entity_view_display.*.*.*: sequence: - type: boolean label: 'Value' - third_party_settings: - type: sequence - label: 'Third party settings' - sequence: - - type: entity_view_display.third_party.[%key] # Overview configuration information for form mode displays. core.entity_form_display.*.*.*: @@ -149,11 +141,6 @@ core.entity_form_display.*.*.*: sequence: - type: boolean label: 'Component' - third_party_settings: - type: sequence - label: 'Third party settings' - sequence: - - type: entity_form_display.third_party.[%key] # Default schema for entity display field with undefined type. field.formatter.settings.*: diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php index ad5f0d1..f4cc3ec 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php @@ -7,12 +7,12 @@ namespace Drupal\Core\Config\Entity; -use Drupal\Component\Plugin\ConfigurablePluginInterface; use Drupal\Component\Utility\String; use Drupal\Core\Cache\Cache; use Drupal\Core\Config\Schema\SchemaIncompleteException; use Drupal\Core\Entity\Entity; use Drupal\Core\Config\ConfigDuplicateUUIDException; +use Drupal\Core\Config\Entity\ThirdPartySettingsTrait; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Entity\EntityWithPluginCollectionInterface; use Drupal\Core\Language\LanguageInterface; @@ -29,6 +29,8 @@ addDependency as addDependencyTrait; } + use ThirdPartySettingsTrait; + /** * The original ID of the configuration entity. * diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayBase.php b/core/lib/Drupal/Core/Entity/EntityDisplayBase.php index ea39c51..ac4c932 100644 --- a/core/lib/Drupal/Core/Entity/EntityDisplayBase.php +++ b/core/lib/Drupal/Core/Entity/EntityDisplayBase.php @@ -8,7 +8,6 @@ namespace Drupal\Core\Entity; use Drupal\Core\Config\Entity\ConfigEntityBase; -use Drupal\Core\Config\Entity\ThirdPartySettingsTrait; use Drupal\Core\Field\FieldDefinitionInterface; use Drupal\Core\Entity\Display\EntityDisplayInterface; use Drupal\field\Entity\FieldConfig; @@ -20,8 +19,6 @@ */ abstract class EntityDisplayBase extends ConfigEntityBase implements EntityDisplayInterface { - use ThirdPartySettingsTrait; - /** * Unique ID for the config entity. * diff --git a/core/lib/Drupal/Core/Field/FieldConfigBase.php b/core/lib/Drupal/Core/Field/FieldConfigBase.php index 7f81e58..9e3cc17 100644 --- a/core/lib/Drupal/Core/Field/FieldConfigBase.php +++ b/core/lib/Drupal/Core/Field/FieldConfigBase.php @@ -9,7 +9,6 @@ use Drupal\Component\Plugin\DependentPluginInterface; use Drupal\Core\Config\Entity\ConfigEntityBase; -use Drupal\Core\Config\Entity\ThirdPartySettingsTrait; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Entity\FieldableEntityInterface; use Drupal\Core\Field\TypedData\FieldItemDataDefinition; @@ -20,8 +19,6 @@ */ abstract class FieldConfigBase extends ConfigEntityBase implements FieldConfigInterface { - use ThirdPartySettingsTrait; - /** * The field ID. * diff --git a/core/modules/contact/config/schema/contact.schema.yml b/core/modules/contact/config/schema/contact.schema.yml index 011ae37..7ebb6f4 100644 --- a/core/modules/contact/config/schema/contact.schema.yml +++ b/core/modules/contact/config/schema/contact.schema.yml @@ -22,11 +22,6 @@ contact.form.*: weight: type: integer label: 'Weight' - third_party_settings: - type: sequence - label: 'Third party settings' - sequence: - - type: contact_form.third_party.[%key] contact.settings: type: mapping diff --git a/core/modules/contact/src/Entity/ContactForm.php b/core/modules/contact/src/Entity/ContactForm.php index 2dd7ce3..2331a7c 100644 --- a/core/modules/contact/src/Entity/ContactForm.php +++ b/core/modules/contact/src/Entity/ContactForm.php @@ -9,7 +9,6 @@ use Drupal\Core\Config\Entity\ConfigEntityBundleBase; use Drupal\contact\ContactFormInterface; -use Drupal\Core\Config\Entity\ThirdPartySettingsTrait; /** * Defines the contact form entity. @@ -41,8 +40,6 @@ */ class ContactForm extends ConfigEntityBundleBase implements ContactFormInterface { - use ThirdPartySettingsTrait; - /** * The form ID. * diff --git a/core/modules/image/config/schema/image.schema.yml b/core/modules/image/config/schema/image.schema.yml index 87f38f6..00268ef 100644 --- a/core/modules/image/config/schema/image.schema.yml +++ b/core/modules/image/config/schema/image.schema.yml @@ -22,11 +22,6 @@ image.style.*: type: integer uuid: type: string - third_party_settings: - type: sequence - label: 'Third party settings' - sequence: - - type: image_style.third_party.[%key] image.effect.*: type: mapping diff --git a/core/modules/image/src/Entity/ImageStyle.php b/core/modules/image/src/Entity/ImageStyle.php index a57904d..a592aac 100644 --- a/core/modules/image/src/Entity/ImageStyle.php +++ b/core/modules/image/src/Entity/ImageStyle.php @@ -9,7 +9,6 @@ use Drupal\Core\Cache\Cache; use Drupal\Core\Config\Entity\ConfigEntityBase; -use Drupal\Core\Config\Entity\ThirdPartySettingsTrait; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Entity\EntityWithPluginCollectionInterface; use Drupal\Core\Routing\RequestHelper; @@ -52,8 +51,6 @@ */ class ImageStyle extends ConfigEntityBase implements ImageStyleInterface, EntityWithPluginCollectionInterface { - use ThirdPartySettingsTrait; - /** * The name of the image style to use as replacement upon delete. * diff --git a/core/modules/node/config/schema/node.schema.yml b/core/modules/node/config/schema/node.schema.yml index 0680b57..abb9b50 100644 --- a/core/modules/node/config/schema/node.schema.yml +++ b/core/modules/node/config/schema/node.schema.yml @@ -36,11 +36,6 @@ node.type.*: display_submitted: type: boolean label: 'Display setting for author and date Submitted by post information' - third_party_settings: - type: sequence - label: 'Third party settings' - sequence: - - type: node_type.third_party.[%key] # Plugin \Drupal\node\Plugin\Search\NodeSearch search.plugin.node_search: diff --git a/core/modules/node/src/Entity/NodeType.php b/core/modules/node/src/Entity/NodeType.php index e33c1ec..535cd17 100644 --- a/core/modules/node/src/Entity/NodeType.php +++ b/core/modules/node/src/Entity/NodeType.php @@ -8,7 +8,6 @@ namespace Drupal\node\Entity; use Drupal\Core\Config\Entity\ConfigEntityBundleBase; -use Drupal\Core\Config\Entity\ThirdPartySettingsTrait; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\node\NodeTypeInterface; @@ -41,7 +40,6 @@ * ) */ class NodeType extends ConfigEntityBundleBase implements NodeTypeInterface { - use ThirdPartySettingsTrait; /** * The machine name of this node type. diff --git a/core/modules/taxonomy/config/schema/taxonomy.schema.yml b/core/modules/taxonomy/config/schema/taxonomy.schema.yml index cf4a3a9..c79fa5f 100644 --- a/core/modules/taxonomy/config/schema/taxonomy.schema.yml +++ b/core/modules/taxonomy/config/schema/taxonomy.schema.yml @@ -33,11 +33,6 @@ taxonomy.vocabulary.*: weight: type: integer label: 'Weight' - third_party_settings: - type: sequence - label: 'Third party settings' - sequence: - - type: taxonomy.vocabulary.third_party.[%key] field.storage_settings.taxonomy_term_reference: type: base_entity_reference_field_settings diff --git a/core/modules/taxonomy/src/Entity/Vocabulary.php b/core/modules/taxonomy/src/Entity/Vocabulary.php index e650551..b6decd5 100644 --- a/core/modules/taxonomy/src/Entity/Vocabulary.php +++ b/core/modules/taxonomy/src/Entity/Vocabulary.php @@ -8,7 +8,6 @@ namespace Drupal\taxonomy\Entity; use Drupal\Core\Config\Entity\ConfigEntityBundleBase; -use Drupal\Core\Config\Entity\ThirdPartySettingsTrait; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\taxonomy\VocabularyInterface; @@ -45,7 +44,6 @@ * ) */ class Vocabulary extends ConfigEntityBundleBase implements VocabularyInterface { - use ThirdPartySettingsTrait; /** * The taxonomy vocabulary ID. diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithThirdPartySettings.php b/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithThirdPartySettings.php index 6834e63..100999c 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithThirdPartySettings.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithThirdPartySettings.php @@ -9,7 +9,6 @@ use Drupal\Core\Config\Entity\ConfigEntityBase; use Drupal\Core\Config\Entity\ThirdPartySettingsInterface; -use Drupal\Core\Config\Entity\ThirdPartySettingsTrait; /** * Enables testing of dependency calculation. @@ -18,6 +17,5 @@ * @see \Drupal\Core\Config\Entity\ConfigEntityBase::calculateDependencies() */ abstract class ConfigEntityBaseWithThirdPartySettings extends ConfigEntityBase implements ThirdPartySettingsInterface { - use ThirdPartySettingsTrait; }