Version 1
[yaffs-website] / web / modules / contrib / embed / config / schema / embed.schema.yml
diff --git a/web/modules/contrib/embed/config/schema/embed.schema.yml b/web/modules/contrib/embed/config/schema/embed.schema.yml
new file mode 100644 (file)
index 0000000..e232a20
--- /dev/null
@@ -0,0 +1,35 @@
+# Schema for the configuration files of the Embed module.
+
+embed.settings:
+  type: config_object
+  label: 'Embed settings'
+  mapping:
+    file_scheme:
+      type: string
+      label: 'File scheme for button icons'
+    upload_directory:
+      type: string
+      label: 'Upload directory for button icons'
+
+embed.button.*:
+  type: config_entity
+  label: 'Embed button'
+  mapping:
+    label:
+      type: label
+      label: 'Name'
+    id:
+      type: string
+      label: 'Machine name'
+    type_id:
+      type: string
+      label: 'Embed type plugin ID'
+    type_settings:
+      type: embed.embed_type_settings.[%parent.type_id]
+    icon_uuid:
+      type: string
+      label: 'Button icon UUID'
+
+embed.embed_type_settings.*:
+  type: mapping
+  label: 'Embed type settings'