diff --git a/core/modules/entity_reference/config/schema/entity_reference.schema.yml b/core/modules/entity_reference/config/schema/entity_reference.schema.yml new file mode 100644 index 0000000..2f992ab --- /dev/null +++ b/core/modules/entity_reference/config/schema/entity_reference.schema.yml @@ -0,0 +1,48 @@ +# Schema for the configuration files of the Entity Reference module. + +field.entity_reference.settings: + type: mapping + label: 'Settings' + mapping: + target_type: + type: string + label: 'Type of item to reference' + +field.entity_reference.instance_settings: + type: mapping + label: 'Entity reference settings' + mapping: + handler: + type: string + label: 'Reference method' + handler_settings: + type: mapping + label: 'Reference method settings' + mapping: + target_bundles: + type: sequence + label: 'types' + sequence: + - type: string + label: 'Type' + sort: + type: mapping + label: 'Sort settings' + mapping: + field: + type: string + label: 'Sort by' + direction: + type: string + label: 'Sort direction' + +field.entity_reference.value: + type: sequence + label: 'Default value' + sequence: + - type: mapping + label: 'Default' + mapping: + target_id: + type: integer + label: 'Value'