diff --git a/core/modules/file/config/schema/file.schema.yml b/core/modules/file/config/schema/file.schema.yml index acfd376..08634dd 100644 --- a/core/modules/file/config/schema/file.schema.yml +++ b/core/modules/file/config/schema/file.schema.yml @@ -23,15 +23,9 @@ file.settings: label: 'Directory' field.file.settings: - type: mapping + type: base_entity_reference_field_settings label: 'File settings' mapping: - target_type: - type: string - label: 'Type of item to reference' - target_bundle: - type: string - label: 'Bundle of item to reference' display_field: type: boolean label: 'Enable Display field' diff --git a/core/modules/system/config/schema/system.schema.yml b/core/modules/system/config/schema/system.schema.yml index 5375524..166227a 100644 --- a/core/modules/system/config/schema/system.schema.yml +++ b/core/modules/system/config/schema/system.schema.yml @@ -391,3 +391,13 @@ condition.plugin.request_path: mapping: pages: type: string + +base_entity_reference_field_settings: + type: mapping + mapping: + target_type: + type: string + label: 'Type of item to reference' + target_bundle: + type: string + label: 'Bundle of item to reference' diff --git a/core/modules/taxonomy/config/schema/taxonomy.schema.yml b/core/modules/taxonomy/config/schema/taxonomy.schema.yml index 3f0962f..40004c3 100644 --- a/core/modules/taxonomy/config/schema/taxonomy.schema.yml +++ b/core/modules/taxonomy/config/schema/taxonomy.schema.yml @@ -35,15 +35,9 @@ taxonomy.vocabulary.*: label: 'Weight' field.taxonomy_term_reference.settings: - type: mapping + type: base_entity_reference_field_settings label: 'Taxonomy term reference settings' mapping: - target_bundle: - type: string - label: 'Bundle of item to reference' options_list_callback: type: string label: 'Options list callback'