Version 1
[yaffs-website] / web / modules / contrib / image_widget_crop / config / schema / image_widget_crop.schema.yml
diff --git a/web/modules/contrib/image_widget_crop/config/schema/image_widget_crop.schema.yml b/web/modules/contrib/image_widget_crop/config/schema/image_widget_crop.schema.yml
new file mode 100644 (file)
index 0000000..3838b64
--- /dev/null
@@ -0,0 +1,60 @@
+# Schema for configuration files of the ImageWidgetCrop module.
+
+field.widget.settings.image_widget_crop:
+  type: mapping
+  label: 'Image field display format settings'
+  mapping:
+    progress_indicator:
+      type: string
+      label: 'Progress indicator'
+    preview_image_style:
+      type: string
+      label: 'Preview image style'
+    crop_preview_image_style:
+      type: string
+      label: 'Preview crop image style'
+    crop_list:
+      type: sequence
+      label: 'The preview image will be cropped'
+      sequence:
+        type: string
+    warn_multiple_usages:
+      type: boolean
+      label: 'Warn user when a file have multiple usages'
+    show_crop_area:
+      type: boolean
+      label: 'Always expand crop area'
+    show_default_crop:
+      type: boolean
+      label: 'Show default crop area'
+
+image_widget_crop.settings:
+  type: config_object
+  label: 'Image widget crop settings'
+  mapping:
+    settings:
+      type: mapping
+      mapping:
+        library_url:
+          type: string
+          label: 'Library URL'
+        css_url:
+          type: string
+          label: 'CSS URL'
+        crop_preview_image_style:
+          type: string
+          label: 'Preview crop image style'
+        crop_list:
+          type: sequence
+          label: 'The preview image will be cropped'
+          sequence:
+            type: string
+        warn_multiple_usages:
+          type: boolean
+          label: 'Warn user when a file have multiple usages'
+        show_default_crop:
+          type: boolean
+          label: 'Show default crop area'
+        show_crop_area:
+          type: boolean
+          label: 'Always expand crop area'