custom_elements-8.x-2.x-dev/config/schema/custom_elements.schema.yml
config/schema/custom_elements.schema.yml
custom_elements.settings:
type: config_object
mapping:
markup_style:
type: string
label: 'Markup style'
json_format:
type: string
label: 'JSON serialization format'
default_render_variant:
type: string
label: 'Default render variant'
# Overview configuration information for custom element display mode.
custom_elements.entity_ce_display.*.*.*:
type: config_entity
label: 'Entity custom element display'
mapping:
id:
type: string
label: 'ID'
targetEntityType:
type: string
label: 'Target entity type'
bundle:
type: string
label: 'Bundle'
mode:
type: string
label: 'View or form mode machine name'
useLayoutBuilder:
type: bool
label: 'Build custom element using layout (if enabled in appropriate display).'
forceAutoProcessing:
type: bool
label: 'Build custom element using processors instead of field config.'
customElementName:
type: string
label: 'Custom element name'
content:
type: sequence
label: 'Field custom element formatters'
sequence:
type: mapping
label: 'Field custom element formatter'
mapping:
formatter:
type: string
label: 'Custom element formatter ID'
field_name:
type: string
label: 'Name of the entity field'
is_slot:
type: bool
label: 'is Slot'
weight:
type: integer
label: 'Weight'
configuration:
type: custom_elements.field_formatter.configuration.[%parent.formatter]
label: 'Settings'
# Default schema for entity display field with undefined type.
custom_elements.field_formatter.configuration.*:
type: mapping
# Schema for core field formatter plugin.
custom_elements.field_formatter.configuration.field:*:
type: mapping
label: 'Field formatter settings'
mapping:
type:
type: string
label: 'Formatter type machine name'
settings:
type: field.formatter.settings.[%parent.type]
label: 'Settings'
third_party_settings:
type: sequence
label: 'Third party settings'
sequence:
type: field.formatter.third_party.[%key]
