X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fconfig%2Fschema%2Fcore.entity.schema.yml;h=57e55472555e8958abcda3a67c2c5b53e8b6cd55;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=df2a2fd02d97be9c5ccd1bc8181964751a73f76a;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/config/schema/core.entity.schema.yml b/web/core/config/schema/core.entity.schema.yml index df2a2fd02..57e554725 100644 --- a/web/core/config/schema/core.entity.schema.yml +++ b/web/core/config/schema/core.entity.schema.yml @@ -55,29 +55,7 @@ core.entity_view_display.*.*.*: type: sequence label: 'Field formatters' sequence: - type: mapping - label: 'Field formatter' - mapping: - type: - type: string - label: 'Format type machine name' - weight: - type: integer - label: 'Weight' - region: - type: string - label: 'Region' - label: - type: string - label: 'Label setting 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] + type: field_formatter.entity_view_display hidden: type: sequence label: 'Field display setting' @@ -85,6 +63,35 @@ core.entity_view_display.*.*.*: type: boolean label: 'Value' +field_formatter: + type: mapping + label: 'Field formatter' + mapping: + type: + type: string + label: 'Format type machine name' + label: + type: string + label: 'Label setting 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] + +field_formatter.entity_view_display: + type: field_formatter + mapping: + weight: + type: integer + label: 'Weight' + region: + type: string + label: 'Region' + # Overview configuration information for form mode displays. core.entity_form_display.*.*.*: type: config_entity @@ -362,3 +369,13 @@ field.formatter.settings.entity_reference_label: type: boolean label: 'Link label to the referenced entity' +block.settings.field_block:*:*:*: + type: block_settings + mapping: + formatter: + type: field_formatter + +# Schema for entity actions. +action.configuration.entity:*:*: + type: action_configuration_default + label: 'Entity action'