Version 1
[yaffs-website] / web / modules / contrib / dropzonejs / modules / eb_widget / README.md
1 # About this submodule
2
3 This submodule provides an Entity browser widget that can be used to upload
4 multiple files using the DropzoneJS library.
5
6 ### Test the widget:
7
8 1. Enable entity_browser_example module
9 2. Reimport the configuration for entity_browser.browser.test_files.yml replacing the upload widget with the following wigdet configuration:
10
11
12                 735d146c-a4b2-4327-a057-d109e0905e05:
13                   settings:
14                 upload_location: 'public://'
15                 dropzone_description: 'This is a dropzone description'
16                 extensions: 'png jpg jpeg gif'
17                 max_filesize: '2 M'
18               uuid: 735d146c-a4b2-4327-a057-d109e0905e05
19               weight: 0
20               label: 'Upload files'
21               id: dropzonejs
22               
23 3. The sample content type should be upldated with the new widget.