Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / dropzonejs / modules / eb_widget / config / schema / dropzonejs_eb_widget.schema.yml
index dd606e73997de7fe95f3623b5a76e596e1fca457..ec9ec40890b8cf85db9bbe581b8397d05327ee2f 100644 (file)
@@ -20,55 +20,38 @@ entity_browser.browser.widget.dropzonejs:
     extensions:
       type: string
       label: 'Allowed file extensions'
+    clientside_resize:
+      type: boolean
+      label: 'Use clientside resize'
+    resize_width:
+      type: integer
+      label: 'Maximum width'
+    resize_height:
+      type: integer
+      label: 'Maximum height'
+    resize_quality:
+      type: float
+      label: 'Resize quality'
+    resize_method:
+      type: string
+      label: 'Method used for resizing'
+    thumbnail_method:
+      type: string
+      label: 'Method used for generating the thumbnail'
 
 entity_browser.browser.widget.dropzonejs_media_entity:
-  type: mapping
+  type: entity_browser.browser.widget.dropzonejs
   label: 'Media Entity DropzoneJS widget configuration'
   mapping:
-    media_entity_bundle:
+    media_type:
       type: string
       label: 'Media type'
-    submit_text:
-      type: string
-      label: 'Submit button text'
-    auto_select:
-      type: boolean
-      label: 'Automatically submit selection'
-    upload_location:
-      type: string
-      label: 'Upload location'
-    dropzone_description:
-      type: string
-      label: 'Dropzone drag-n-drop zone text'
-    max_filesize:
-      type: string
-      label: 'Maximum size of files'
-    extensions:
-      type: string
-      label: 'Allowed file extensions'
+
 
 entity_browser.browser.widget.dropzonejs_media_entity_inline_entity_form:
-  type: mapping
+  type: entity_browser.browser.widget.dropzonejs_media_entity
   label: 'Media Entity DropzoneJS with edit widget configuration'
   mapping:
-    media_entity_bundle:
-      type: string
-      label: 'Media type'
-    submit_text:
-      type: string
-      label: 'Submit button text'
-    upload_location:
-      type: string
-      label: 'Upload location'
-    dropzone_description:
-      type: string
-      label: 'Dropzone drag-n-drop zone text'
-    max_filesize:
-      type: string
-      label: 'Maximum size of files'
-    extensions:
-      type: string
-      label: 'Allowed file extensions'
     form_mode:
       type: string
       label: 'Form mode'