diff --git a/core/modules/entity_reference/config/schema/entity_reference.schema.yml b/core/modules/entity_reference/config/schema/entity_reference.schema.yml index ba77390..4a3aefb 100644 --- a/core/modules/entity_reference/config/schema/entity_reference.schema.yml +++ b/core/modules/entity_reference/config/schema/entity_reference.schema.yml @@ -34,6 +34,19 @@ entity_reference.default.handler_settings: type: mapping label: 'View handler settings' mapping: + filter: + type: mapping + label: 'Filter settings' + mapping: + type: + type: string + label: 'Filter by' + role: + type: sequence + label: 'Restrict to the selected roles' + sequence: + - type: string + label: 'Role' target_bundles: type: sequence label: 'types' @@ -50,3 +63,6 @@ entity_reference.default.handler_settings: direction: type: string label: 'Sort direction' + auto_create: + type: boolean + label: 'Create referenced entities if they don''t already exist'