Version 1
[yaffs-website] / web / core / modules / block / config / schema / block.schema.yml
diff --git a/web/core/modules/block/config/schema/block.schema.yml b/web/core/modules/block/config/schema/block.schema.yml
new file mode 100644 (file)
index 0000000..16d79bc
--- /dev/null
@@ -0,0 +1,35 @@
+# Schema for the configuration files of the Block module.
+
+block.block.*:
+  type: config_entity
+  label: 'Block'
+  mapping:
+    id:
+      type: string
+      label: 'ID'
+    theme:
+      type: string
+      label: 'Theme'
+    region:
+      type: string
+      label: 'Region'
+    weight:
+      type: integer
+      label: 'Weight'
+    provider:
+      type: string
+      label: 'Provider'
+    plugin:
+      type: string
+      label: 'Plugin'
+    settings:
+      type: block.settings.[%parent.plugin]
+    visibility:
+      type: sequence
+      label: 'Visibility Conditions'
+      sequence:
+        type: condition.plugin.[id]
+        label: 'Visibility Condition'
+
+block.settings.*:
+  type: block_settings