sequence:
label: Sequence
class: '\Drupal\Core\Config\Schema\Sequence'
- definition_class: '\Drupal\Core\TypedData\ListDataDefinition'
+ definition_class: '\Drupal\Core\Config\Schema\SequenceDataDefinition'
# Simple extended data types:
label: 'Text'
translatable: true
+# A UUID.
+uuid:
+ type: string
+ label: 'UUID'
+ constraints:
+ Uuid: {}
+
# PHP Date format string that is translatable.
date_format:
type: string
type: mapping
mapping:
uuid:
- type: string
+ type: uuid
label: 'UUID'
langcode:
type: string
type: boolean
label: 'Negate'
uuid:
- type: string
- label: 'UUID'
+ type: uuid
context_mapping:
type: sequence
label: 'Context assignments'
type: integer
label: 'Weight'
uuid:
- type: string
- label: 'UUID'
+ type: uuid
layout_plugin.settings:
type: mapping
type: string
label: 'Value'
target_uuid:
- type: string
- label: 'Target UUID'
+ type: uuid
# Schema for the configuration of the Boolean field type.
type: float
label: 'Value'
+# Schema for the configuration of the Timestamp field type.
+
+field.value.timestamp:
+ type: mapping
+ label: 'Timestamp value'
+ mapping:
+ value:
+ type: timestamp
+ label: 'Value'
+
# Text with a text format.
text_format:
type: mapping
# The text format should not be translated as part of the string
# translation system, so this is not marked as translatable.
-# Schema for the configuration of the Entity reference selection plugins.
-
+# Base schema for all entity reference selection handler schemas.
entity_reference_selection:
type: mapping
- label: 'Entity reference selection plugin configuration'
+ label: 'Entity reference selection handler settings'
+ mapping:
+ target_type:
+ type: string
+ label: 'Type of item to reference'
+
+# Schema for all entity reference selection handlers that are not providing a
+# specific schema.
+entity_reference_selection.*:
+ type: entity_reference_selection
+
+# Schema for the entity reference 'default' selection handler settings.
+entity_reference_selection.default:
+ type: entity_reference_selection
+ label: 'Default selection handler settings'
mapping:
target_bundles:
type: sequence
nullable: true
sequence:
type: string
- label: 'Type'
+ label: 'Bundle'
sort:
type: mapping
label: 'Sort settings'
type: string
label: 'Bundle assigned to the auto-created entities.'
-entity_reference_selection.*:
- type: entity_reference_selection
+# Schema for all entity reference 'default:*' selection handlers that are not
+# providing a specific schema.
+entity_reference_selection.default:*:
+ type: entity_reference_selection.default