Skip to content
This repository has been archived by the owner on Jan 5, 2018. It is now read-only.

Commit

Permalink
Adjusted schema and new widget for auto_select functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
mtodor committed Nov 8, 2016
1 parent b511471 commit d19089c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ entity_browser.browser.widget.dropzonejs:
submit_text:
type: string
label: 'Submit button text'
auto_select:
type: boolean
label: 'Automatically submit selection'
upload_location:
type: string
label: 'Upload location'
Expand All @@ -28,6 +31,9 @@ entity_browser.browser.widget.dropzonejs_media_entity:
submit_text:
type: string
label: 'Submit button text'
auto_select:
type: boolean
label: 'Automatically submit selection'
upload_location:
type: string
label: 'Upload location'
Expand All @@ -51,6 +57,9 @@ entity_browser.browser.widget.dropzonejs_media_entity_inline_entity_form:
submit_text:
type: string
label: 'Submit button text'
auto_select:
type: boolean
label: 'Automatically submit selection'
upload_location:
type: string
label: 'Upload location'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* @EntityBrowserWidget(
* id = "dropzonejs_media_entity_inline_entity_form",
* label = @Translation("Media Entity DropzoneJS with edit"),
* description = @Translation("Adds DropzoneJS upload integration that saves Media entities and allows to edit them.")
* description = @Translation("Adds DropzoneJS upload integration that saves Media entities and allows to edit them."),
* autoSelect = FALSE
* )
*/
class InlineEntityFormMediaWidget extends MediaEntityDropzoneJsEbWidget {
Expand Down

0 comments on commit d19089c

Please sign in to comment.