Version 1
[yaffs-website] / web / modules / contrib / paragraphs / config / schema / paragraphs_type.schema.yml
diff --git a/web/modules/contrib/paragraphs/config/schema/paragraphs_type.schema.yml b/web/modules/contrib/paragraphs/config/schema/paragraphs_type.schema.yml
new file mode 100644 (file)
index 0000000..65b3c7e
--- /dev/null
@@ -0,0 +1,84 @@
+paragraphs.paragraphs_type.*:
+  type: config_entity
+  label: 'Paragraphs type config'
+  mapping:
+    id:
+      type: string
+      label: 'ID'
+    label:
+      type: label
+      label: 'Label'
+    behavior_plugins:
+      type: sequence
+      label: 'Plugins'
+      sequence:
+        type: paragraphs.behavior.settings.[%key]
+        label: 'Behavior plugins'
+
+paragraphs.behavior.settings_base:
+  type: mapping
+  label: 'Settings for base paragraphs behavior plugin'
+  mapping:
+    enabled:
+      type: boolean
+      label: 'Enabled'
+
+# The plugins which extend the base behavior plugin and don't provide
+# any configuration form will validate on this entry.
+paragraphs.behavior.settings.*:
+  type: paragraphs.behavior.settings_base
+
+entity_reference_selection.default:paragraph:
+  type: entity_reference_selection
+  mapping:
+    target_bundles_drag_drop:
+      type: sequence
+      sequence:
+        type: mapping
+        mapping:
+          weight:
+            type: integer
+          enabled:
+            type: boolean
+    add_mode:
+      type: string
+    edit_mode:
+      type: string
+    title:
+      type: string
+    title_plural:
+      type: string
+    default_paragraph_type:
+      type: string
+
+field.widget.settings.entity_reference_paragraphs:
+  type: mapping
+  mapping:
+    title:
+      type: string
+    title_plural:
+      type: string
+    edit_mode:
+      type: string
+    add_mode:
+      type: string
+    form_display_mode:
+      type: string
+    default_paragraph_type:
+      type: string
+
+field.widget.settings.paragraphs:
+  type: mapping
+  mapping:
+    title:
+      type: string
+    title_plural:
+      type: string
+    edit_mode:
+      type: string
+    add_mode:
+      type: string
+    form_display_mode:
+      type: string
+    default_paragraph_type:
+      type: string