Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / config / schema / core.entity.schema.yml
index df2a2fd02d97be9c5ccd1bc8181964751a73f76a..57e55472555e8958abcda3a67c2c5b53e8b6cd55 100644 (file)
@@ -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'