diff --git a/core/config/schema/core.data_types.schema.yml b/core/config/schema/core.data_types.schema.yml index c695934..cdb8a39 100644 --- a/core/config/schema/core.data_types.schema.yml +++ b/core/config/schema/core.data_types.schema.yml @@ -402,7 +402,13 @@ core.date_format.*: type: string label: 'Default language' -# Schema for the String field type. +# Schema for the configuration of the String field type. + +field.string.storage_settings: + type: sequence + label: 'String settings' + sequence: + - type: string field.string.field_settings: type: sequence @@ -422,7 +428,143 @@ field.string.value: type: string label: 'Value' -# Schema for the configuration files of the Boolean field type. +# Schema for the configuration of the String (long) field type. + +field.string_long.storage_settings: + type: sequence + label: 'String (long) settings' + sequence: + - type: string + +field.string_long.field_settings: + type: sequence + label: 'String (long) settings' + sequence: + - type: string + label: 'Setting' + +field.string_long.value: + type: sequence + label: 'Default value' + sequence: + - type: mapping + label: 'Default' + mapping: + value: + type: string + label: 'Value' + +# Schema for the configuration of the URI field type. + +field.uri.storage_settings: + type: sequence + label: 'URI settings' + sequence: + - type: string + +field.uri.field_settings: + type: sequence + label: 'URI settings' + sequence: + - type: string + label: 'Setting' + +field.uri.value: + type: sequence + label: 'Default value' + sequence: + - type: mapping + label: 'Default' + mapping: + value: + type: string + label: 'Value' + +# Schema for the configuration of the Created field type. + +field.created.storage_settings: + type: sequence + label: 'Created timestamp settings' + sequence: + - type: string + +field.created.field_settings: + type: sequence + label: 'Created timestamp settings' + sequence: + - type: string + label: 'Setting' + +field.created.value: + type: sequence + label: 'Default value' + sequence: + - type: mapping + label: 'Default' + mapping: + value: + type: string + label: 'Value' + +# Schema for the configuration of the Changed field type. + +field.changed.storage_settings: + type: sequence + label: 'Changed timestamp settings' + sequence: + - type: string + +field.changed.field_settings: + type: sequence + label: 'Changed timestamp settings' + sequence: + - type: string + label: 'Setting' + +field.changed.value: + type: sequence + label: 'Default value' + sequence: + - type: mapping + label: 'Default' + mapping: + value: + type: string + label: 'Value' + +# Schema for the configuration of the Entity refeference field type. + +field.entity_reference.storage_settings: + type: mapping + label: 'Entity reference settings' + mapping: + target_type: + type: string + label: 'Type of item to reference' + +field.entity_reference.field_settings: + type: mapping + label: 'Entity reference settings' + mapping: + handler: + type: string + label: 'Reference method' + handler_settings: + type: entity_reference.[%parent.handler].handler_settings + label: 'Reference method settings' + +field.entity_reference.value: + type: sequence + label: 'Default value' + sequence: + - type: mapping + label: 'Default' + mapping: + target_id: + type: integer + label: 'Value' + +# Schema for the configuration of the Boolean field type. field.boolean.storage_settings: type: mapping @@ -451,7 +593,7 @@ field.boolean.value: type: integer label: 'Value' -# Schema for the configuration files of the Email field type. +# Schema for the configuration of the Email field type. field.email.storage_settings: type: sequence @@ -477,7 +619,7 @@ field.email.value: type: email label: 'Value' -# Schema for configuration files of a numeric field types. +# Schema for the configuration of the Integer field type. field.integer.storage_settings: type: sequence @@ -514,6 +656,8 @@ field.integer.value: type: integer label: 'Value' +# Schema for the configuration of the Decimal field type. + field.decimal.storage_settings: type: mapping label: 'Decimal settings' @@ -553,6 +697,8 @@ field.decimal.value: type: float label: 'Value' +# Schema for the configuration of the Float field type. + field.float.storage_settings: type: sequence label: 'Float settings' diff --git a/core/modules/entity_reference/config/schema/entity_reference.schema.yml b/core/modules/entity_reference/config/schema/entity_reference.schema.yml index de96443..5404963 100644 --- a/core/modules/entity_reference/config/schema/entity_reference.schema.yml +++ b/core/modules/entity_reference/config/schema/entity_reference.schema.yml @@ -1,35 +1,5 @@ # Schema for the configuration files of the Entity Reference module. -field.entity_reference.storage_settings: - type: mapping - label: 'Entity reference settings' - mapping: - target_type: - type: string - label: 'Type of item to reference' - -field.entity_reference.field_settings: - type: mapping - label: 'Entity reference settings' - mapping: - handler: - type: string - label: 'Reference method' - handler_settings: - type: entity_reference.[%parent.handler].handler_settings - label: 'Reference method settings' - -field.entity_reference.value: - type: sequence - label: 'Default value' - sequence: - - type: mapping - label: 'Default' - mapping: - target_id: - type: integer - label: 'Value' - entity_reference.default.handler_settings: type: mapping label: 'View handler settings'