X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fconfig%2Fschema%2Fcore.data_types.schema.yml;h=b3941643c5dac52ec22f7b9d17b394c5303e8980;hb=9424afc6c1f518c301bf87a23c047d1873435d05;hp=eeac1aea06306e512e3fc2b281f0853e4d4908dd;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/config/schema/core.data_types.schema.yml b/web/core/config/schema/core.data_types.schema.yml index eeac1aea0..b3941643c 100644 --- a/web/core/config/schema/core.data_types.schema.yml +++ b/web/core/config/schema/core.data_types.schema.yml @@ -28,6 +28,9 @@ email: integer: label: 'Integer' class: '\Drupal\Core\TypedData\Plugin\DataType\IntegerData' +timestamp: + label: 'Timestamp' + class: '\Drupal\Core\TypedData\Plugin\DataType\Timestamp' float: label: 'Float' class: '\Drupal\Core\TypedData\Plugin\DataType\FloatData' @@ -46,7 +49,7 @@ mapping: 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: @@ -72,6 +75,13 @@ text: label: 'Text' translatable: true +# A UUID. +uuid: + type: string + label: 'UUID' + constraints: + Uuid: {} + # PHP Date format string that is translatable. date_format: type: string @@ -206,23 +216,6 @@ theme_settings: sequence: type: theme_settings.third_party.[%key] -views_field_bulk_form: - type: views_field - label: 'Bulk operation' - mapping: - action_title: - type: label - label: 'Action title' - include_exclude: - type: string - label: 'Available actions' - selected_actions: - type: sequence - label: 'Available actions' - sequence: - type: string - label: 'Action' - # Array of routes with route_name and route_params keys. route: type: mapping @@ -275,7 +268,7 @@ config_entity: type: mapping mapping: uuid: - type: string + type: uuid label: 'UUID' langcode: type: string @@ -294,6 +287,9 @@ config_entity: _core: type: _core_config_info +block.settings.*: + type: block_settings + block_settings: type: mapping label: 'Block settings' @@ -336,8 +332,7 @@ condition.plugin: type: boolean label: 'Negate' uuid: - type: string - label: 'UUID' + type: uuid context_mapping: type: sequence label: 'Context assignments' @@ -358,8 +353,7 @@ display_variant.plugin: type: integer label: 'Weight' uuid: - type: string - label: 'UUID' + type: uuid layout_plugin.settings: type: mapping @@ -602,8 +596,7 @@ field.value.entity_reference: type: string label: 'Value' target_uuid: - type: string - label: 'Target UUID' + type: uuid # Schema for the configuration of the Boolean field type. @@ -753,6 +746,16 @@ field.value.float: 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 @@ -776,11 +779,24 @@ text_format: # 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 @@ -788,7 +804,7 @@ entity_reference_selection: nullable: true sequence: type: string - label: 'Type' + label: 'Bundle' sort: type: mapping label: 'Sort settings' @@ -806,5 +822,7 @@ entity_reference_selection: 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