Skip to content
Snippets Groups Projects

Resolve #3390339 "Entity reference field"

29 files
+ 1531
26
Compare changes
  • Side-by-side
  • Inline
Files
29
@@ -136,6 +136,12 @@ custom_field.formatter.*:
granularity:
type: integer
label: 'Granularity'
view_mode:
type: string
label: 'View mode'
link:
type: boolean
label: 'Link label to the referenced entity'
field.formatter.settings.custom_formatter:
type: custom_field_formatter_base
@@ -203,6 +209,9 @@ custom_field.column:
datetime_type:
type: string
label: 'Date type'
target_type:
type: string
label: 'Type of item to reference'
custom_field.widget.*:
type: mapping
@@ -326,3 +335,68 @@ custom_field.widget.*:
increment:
type: integer
label: 'increment'
match_operator:
type: string
label: 'Match operator'
match_limit:
type: integer
label: 'Match limit'
handler:
type: string
label: 'Handler'
handler_settings:
type: mapping
label: 'Handler settings'
mapping:
include_anonymous:
type: boolean
label: 'Include anonymous'
filter:
type: mapping
label: 'Filter'
mapping:
type:
type: string
label: 'Type'
sort:
type: mapping
label: 'Sort'
mapping:
field:
type: string
label: 'Sort by'
direction:
type: string
label: 'Sort direction'
auto_create:
type: boolean
label: "Create referenced entities if they don't already exist"
target_bundles:
type: sequence
label: 'Target bundles'
sequence:
type: custom_field.target_bundles.[%bundle]
auto_create_bundle:
type: string
label: 'Store new items in'
view:
type: mapping
label: 'View used to select the entities'
mapping:
view_name:
type: string
label: 'View machine name'
display_name:
type: string
label: 'View display name'
arguments:
type: sequence
label: 'View arguments'
sequence:
type: custom_field.view_arguments.[%arg]
custom_field.target_bundles.*:
type: string
custom_field.view_arguments.*:
type: string
Loading