diff --git a/core/config/schema/core.data_types.schema.yml b/core/config/schema/core.data_types.schema.yml index 73db361..88ea43e 100644 --- a/core/config/schema/core.data_types.schema.yml +++ b/core/config/schema/core.data_types.schema.yml @@ -769,11 +769,20 @@ 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' + +# 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 @@ -781,7 +790,7 @@ entity_reference_selection: nullable: true sequence: type: string - label: 'Type' + label: 'Bundle' sort: type: mapping label: 'Sort settings' @@ -799,5 +808,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 diff --git a/core/modules/file/config/schema/file.schema.yml b/core/modules/file/config/schema/file.schema.yml index b9f8918..9526758 100644 --- a/core/modules/file/config/schema/file.schema.yml +++ b/core/modules/file/config/schema/file.schema.yml @@ -48,7 +48,7 @@ base_file_field_field_settings: label: 'Reference method' handler_settings: type: entity_reference_selection.[%parent.handler] - label: 'Entity reference selection settings' + label: 'File selection handler settings' file_directory: type: string label: 'File directory' diff --git a/core/modules/user/config/schema/user.schema.yml b/core/modules/user/config/schema/user.schema.yml index 627d8a6..2f9bda4 100644 --- a/core/modules/user/config/schema/user.schema.yml +++ b/core/modules/user/config/schema/user.schema.yml @@ -166,8 +166,10 @@ condition.plugin.user_role: sequence: type: string +# Schema for the entity reference 'default:user' selection handler settings. entity_reference_selection.default:user: - type: entity_reference_selection + type: entity_reference_selection.default + label: 'User selection handler settings' mapping: filter: type: mapping diff --git a/core/modules/views/config/schema/views.entity_reference.schema.yml b/core/modules/views/config/schema/views.entity_reference.schema.yml index 027c62f..f13645a 100644 --- a/core/modules/views/config/schema/views.entity_reference.schema.yml +++ b/core/modules/views/config/schema/views.entity_reference.schema.yml @@ -1,8 +1,8 @@ -# Schema for the views entity reference selection plugins. +# Schema for the entity reference 'views' selection handler settings. entity_reference_selection.views: - type: mapping - label: 'View handler settings' + type: entity_reference_selection + label: 'Views selection handler settings' mapping: view: type: mapping