2013-11-23 05:52:41 +00:00
|
|
|
# Schema for Configuration files of the entity module.
|
|
|
|
|
2014-09-02 09:36:57 +00:00
|
|
|
core.entity_view_mode.*.*:
|
2015-02-04 13:50:17 +00:00
|
|
|
type: config_entity
|
2013-12-08 21:54:52 +00:00
|
|
|
label: 'Entity view mode settings'
|
2013-11-23 05:52:41 +00:00
|
|
|
mapping:
|
|
|
|
id:
|
|
|
|
type: string
|
2013-12-08 21:54:52 +00:00
|
|
|
label: 'ID'
|
2013-11-23 05:52:41 +00:00
|
|
|
label:
|
|
|
|
type: label
|
2013-12-08 21:54:52 +00:00
|
|
|
label: 'The human-readable name of the view mode'
|
2013-11-23 05:52:41 +00:00
|
|
|
targetEntityType:
|
|
|
|
type: string
|
2013-12-08 21:54:52 +00:00
|
|
|
label: 'Target entity type'
|
2013-11-23 05:52:41 +00:00
|
|
|
cache:
|
|
|
|
type: boolean
|
|
|
|
label: 'Cached'
|
2013-12-08 21:54:52 +00:00
|
|
|
|
2014-09-02 09:36:57 +00:00
|
|
|
core.entity_form_mode.*.*:
|
2014-05-31 11:55:13 +00:00
|
|
|
type: config_entity
|
2013-12-08 21:54:52 +00:00
|
|
|
label: 'Entity form mode settings'
|
|
|
|
mapping:
|
2014-06-14 09:03:25 +00:00
|
|
|
id:
|
|
|
|
type: string
|
|
|
|
label: 'ID'
|
|
|
|
label:
|
|
|
|
type: label
|
|
|
|
label: 'Label'
|
2013-12-08 21:54:52 +00:00
|
|
|
targetEntityType:
|
|
|
|
type: string
|
|
|
|
label: 'Target entity type'
|
|
|
|
cache:
|
|
|
|
type: boolean
|
|
|
|
label: 'Cache'
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
|
|
|
|
# Overview configuration information for view mode or form mode displays.
|
2014-09-02 09:36:57 +00:00
|
|
|
core.entity_view_display.*.*.*:
|
2014-05-31 11:55:13 +00:00
|
|
|
type: config_entity
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
label: 'Entity display'
|
|
|
|
mapping:
|
2014-06-14 09:03:25 +00:00
|
|
|
id:
|
|
|
|
type: string
|
|
|
|
label: 'ID'
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
targetEntityType:
|
|
|
|
type: string
|
|
|
|
label: 'Target entity type'
|
|
|
|
bundle:
|
|
|
|
type: string
|
|
|
|
label: 'Bundle'
|
|
|
|
mode:
|
|
|
|
type: string
|
|
|
|
label: 'View or form mode machine name'
|
|
|
|
content:
|
|
|
|
type: sequence
|
2014-11-21 23:38:41 +00:00
|
|
|
label: 'Field formatters'
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
sequence:
|
2014-11-21 23:38:41 +00:00
|
|
|
- type: mapping
|
|
|
|
label: 'Field formatter'
|
|
|
|
mapping:
|
|
|
|
type:
|
|
|
|
type: string
|
|
|
|
label: 'Format type machine name'
|
|
|
|
weight:
|
|
|
|
type: integer
|
|
|
|
label: 'Weight'
|
|
|
|
label:
|
|
|
|
type: string
|
|
|
|
label: 'Label setting machine name'
|
|
|
|
settings:
|
|
|
|
type: field.formatter.settings.[%parent.type]
|
|
|
|
label: 'Settings'
|
2015-01-08 19:37:59 +00:00
|
|
|
third_party_settings:
|
|
|
|
type: sequence
|
|
|
|
label: 'Third party settings'
|
|
|
|
sequence:
|
|
|
|
- type: field.formatter.third_party.[%key]
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
hidden:
|
|
|
|
type: sequence
|
|
|
|
label: 'Field display setting'
|
|
|
|
sequence:
|
|
|
|
- type: boolean
|
|
|
|
label: 'Value'
|
|
|
|
|
|
|
|
# Overview configuration information for form mode displays.
|
2014-09-02 09:36:57 +00:00
|
|
|
core.entity_form_display.*.*.*:
|
2014-05-31 11:55:13 +00:00
|
|
|
type: config_entity
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
label: 'Entity form display'
|
|
|
|
mapping:
|
2014-06-14 09:03:25 +00:00
|
|
|
id:
|
|
|
|
type: string
|
|
|
|
label: 'ID'
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
targetEntityType:
|
|
|
|
type: string
|
|
|
|
label: 'Target entity type'
|
|
|
|
bundle:
|
|
|
|
type: string
|
|
|
|
label: 'Bundle'
|
|
|
|
mode:
|
|
|
|
type: string
|
|
|
|
label: 'View or form mode machine name'
|
2014-06-14 09:03:25 +00:00
|
|
|
status:
|
|
|
|
type: boolean
|
|
|
|
label: 'Enabled'
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
content:
|
|
|
|
type: sequence
|
2014-11-21 23:38:41 +00:00
|
|
|
label: 'Field widgets'
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
sequence:
|
2014-11-21 23:38:41 +00:00
|
|
|
- type: mapping
|
|
|
|
label: 'Field widget'
|
|
|
|
mapping:
|
|
|
|
type:
|
|
|
|
type: string
|
|
|
|
label: 'Widget type machine name'
|
|
|
|
weight:
|
|
|
|
type: integer
|
|
|
|
label: 'Weight'
|
2015-01-08 19:37:59 +00:00
|
|
|
settings:
|
|
|
|
type: field.widget.settings.[%parent.type]
|
|
|
|
label: 'Settings'
|
2014-11-21 23:38:41 +00:00
|
|
|
third_party_settings:
|
|
|
|
type: sequence
|
|
|
|
label: 'Third party settings'
|
|
|
|
sequence:
|
2015-01-08 19:37:59 +00:00
|
|
|
- type: field.widget.third_party.[%key]
|
2014-05-16 17:49:42 +00:00
|
|
|
hidden:
|
|
|
|
type: sequence
|
|
|
|
label: 'Hidden'
|
|
|
|
sequence:
|
|
|
|
- type: boolean
|
|
|
|
label: 'Component'
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
|
|
|
|
# Default schema for entity display field with undefined type.
|
2014-11-21 23:38:41 +00:00
|
|
|
field.formatter.settings.*:
|
|
|
|
type: mapping
|
Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct.
2014-01-30 12:04:18 +00:00
|
|
|
|
|
|
|
# Default schema for entity form display field with undefined type.
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.*:
|
|
|
|
type: mapping
|
2014-03-07 11:08:24 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.string_textfield:
|
|
|
|
type: mapping
|
2014-03-30 11:24:35 +00:00
|
|
|
label: 'Text field display format settings'
|
2014-03-07 11:08:24 +00:00
|
|
|
mapping:
|
2014-11-21 23:38:41 +00:00
|
|
|
size:
|
|
|
|
type: integer
|
|
|
|
label: 'Size of textfield'
|
|
|
|
placeholder:
|
|
|
|
type: label
|
|
|
|
label: 'Placeholder'
|
2014-09-08 21:00:57 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.string_textarea:
|
|
|
|
type: mapping
|
2014-11-19 12:26:05 +00:00
|
|
|
label: 'Textarea display format settings'
|
2014-09-08 21:00:57 +00:00
|
|
|
mapping:
|
2014-11-21 23:38:41 +00:00
|
|
|
rows:
|
|
|
|
type: integer
|
|
|
|
label: 'Rows'
|
|
|
|
placeholder:
|
|
|
|
type: label
|
|
|
|
label: 'Placeholder'
|
2014-11-19 12:26:05 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.email_default:
|
|
|
|
type: mapping
|
2014-11-19 12:26:05 +00:00
|
|
|
label: 'Email field display format settings'
|
|
|
|
mapping:
|
2014-11-21 23:38:41 +00:00
|
|
|
placeholder:
|
|
|
|
type: label
|
|
|
|
label: 'Placeholder'
|
2014-11-19 12:26:05 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.datetime_timestamp:
|
|
|
|
type: mapping
|
2014-11-19 12:26:05 +00:00
|
|
|
label: 'Datetime timestamp display format settings'
|
2014-09-08 21:00:57 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.boolean_checkbox:
|
|
|
|
type: mapping
|
2014-09-08 21:00:57 +00:00
|
|
|
label: 'Boolean checkbox display format settings'
|
|
|
|
mapping:
|
2014-11-21 23:38:41 +00:00
|
|
|
display_label:
|
|
|
|
type: boolean
|
|
|
|
label: 'Display label'
|
2014-09-14 20:57:44 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.hidden:
|
|
|
|
type: mapping
|
2014-09-14 20:57:44 +00:00
|
|
|
label: '- Hidden - format settings'
|
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.number:
|
|
|
|
type: mapping
|
2014-09-14 20:57:44 +00:00
|
|
|
label: 'Number default display format settings'
|
|
|
|
mapping:
|
2014-11-21 23:38:41 +00:00
|
|
|
placeholder:
|
|
|
|
type: label
|
|
|
|
label: 'Placeholder'
|
2014-09-14 20:57:44 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.widget.settings.checkbox:
|
|
|
|
type: mapping
|
2014-09-14 20:57:44 +00:00
|
|
|
label: 'Single on/off checkbox format settings'
|
|
|
|
mapping:
|
2014-11-21 23:38:41 +00:00
|
|
|
display_label:
|
|
|
|
type: boolean
|
|
|
|
label: 'Use field label instead of the "On value" as label'
|
2014-09-14 20:57:44 +00:00
|
|
|
|
2015-02-04 16:41:54 +00:00
|
|
|
field.widget.settings.entity_reference_autocomplete_tags:
|
|
|
|
type: mapping
|
|
|
|
label: 'Entity reference autocomplete (Tags style) display format settings'
|
|
|
|
mapping:
|
|
|
|
match_operator:
|
|
|
|
type: string
|
|
|
|
label: 'Autocomplete matching'
|
|
|
|
size:
|
|
|
|
type: integer
|
|
|
|
label: 'Size of textfield'
|
|
|
|
placeholder:
|
|
|
|
type: label
|
|
|
|
label: 'Placeholder'
|
|
|
|
|
|
|
|
field.widget.settings.entity_reference_autocomplete:
|
|
|
|
type: mapping
|
|
|
|
label: 'Entity reference autocomplete display format settings'
|
|
|
|
mapping:
|
|
|
|
match_operator:
|
|
|
|
type: string
|
|
|
|
label: 'Autocomplete matching'
|
|
|
|
size:
|
|
|
|
type: integer
|
|
|
|
label: 'Size of textfield'
|
|
|
|
placeholder:
|
|
|
|
type: label
|
|
|
|
label: 'Placeholder'
|
|
|
|
|
2015-02-02 11:09:18 +00:00
|
|
|
field.formatter.settings.boolean:
|
|
|
|
type: mapping
|
|
|
|
mapping:
|
|
|
|
format:
|
|
|
|
type: string
|
|
|
|
label: 'Output format'
|
|
|
|
format_custom_false:
|
|
|
|
type: string
|
|
|
|
label: 'Custom output for FALSE'
|
|
|
|
format_custom_true:
|
|
|
|
type: string
|
|
|
|
label: 'Custom output for TRUE'
|
|
|
|
|
2014-12-12 16:18:19 +00:00
|
|
|
field.formatter.settings.string:
|
|
|
|
type: mapping
|
|
|
|
mapping:
|
|
|
|
link_to_entity:
|
|
|
|
type: boolean
|
|
|
|
label: 'Link to the entity'
|
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.formatter.settings.number_decimal:
|
|
|
|
type: mapping
|
2014-09-14 20:57:44 +00:00
|
|
|
label: 'Number decimal display format settings'
|
|
|
|
mapping:
|
2014-11-21 23:38:41 +00:00
|
|
|
thousand_separator:
|
|
|
|
type: string
|
|
|
|
label: 'Thousand marker'
|
|
|
|
decimal_separator:
|
|
|
|
type: string
|
|
|
|
label: 'Decimal marker'
|
|
|
|
scale:
|
|
|
|
type: integer
|
|
|
|
label: 'Scale'
|
|
|
|
prefix_suffix:
|
|
|
|
type: boolean
|
|
|
|
label: 'Display prefix and suffix.'
|
2014-09-14 20:57:44 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.formatter.settings.number_integer:
|
|
|
|
type: mapping
|
2015-01-17 20:13:03 +00:00
|
|
|
label: 'Number integer display format settings'
|
2014-09-14 20:57:44 +00:00
|
|
|
mapping:
|
2014-11-21 23:38:41 +00:00
|
|
|
thousand_separator:
|
|
|
|
type: string
|
|
|
|
label: 'Thousand marker'
|
|
|
|
prefix_suffix:
|
|
|
|
type: boolean
|
|
|
|
label: 'Display prefix and suffix.'
|
2014-09-14 20:57:44 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.formatter.settings.number_unformatted:
|
|
|
|
type: mapping
|
2014-09-14 20:57:44 +00:00
|
|
|
label: 'Number unformatted display format settings'
|
2014-09-22 11:36:15 +00:00
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.formatter.settings.uri_link:
|
|
|
|
type: mapping
|
2014-09-22 11:36:15 +00:00
|
|
|
label: 'URI as link display format settings'
|
|
|
|
|
2014-11-21 23:38:41 +00:00
|
|
|
field.formatter.settings.timestamp_ago:
|
|
|
|
type: mapping
|
2014-09-22 11:36:15 +00:00
|
|
|
label: 'Timestamp ago display format settings'
|
2014-12-16 09:03:13 +00:00
|
|
|
|
2015-01-14 08:16:37 +00:00
|
|
|
field.formatter.settings.entity_reference_entity_view:
|
|
|
|
type: mapping
|
|
|
|
label: 'Entity reference rendered entity display format settings'
|
|
|
|
mapping:
|
|
|
|
view_mode:
|
|
|
|
type: string
|
|
|
|
label: 'View mode'
|
|
|
|
link:
|
|
|
|
type: boolean
|
|
|
|
label: 'Show links'
|
|
|
|
|
|
|
|
field.formatter.settings.entity_reference_entity_id:
|
|
|
|
type: mapping
|
|
|
|
label: 'Entity reference entity ID display format settings'
|
|
|
|
|
|
|
|
field.formatter.settings.entity_reference_label:
|
|
|
|
type: mapping
|
|
|
|
label: 'Entity reference label display format settings'
|
|
|
|
mapping:
|
|
|
|
link:
|
|
|
|
type: boolean
|
|
|
|
label: 'Link label to the referenced entity'
|
|
|
|
|