Closed (won't fix)
Project:
DropzoneJS
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
26 May 2017 at 07:50 UTC
Updated:
22 Jun 2017 at 07:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
VladimirMarko commentedComment #3
berdirWe should also update \Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget\InlineEntityFormMediaWidget::submitEdit() so that those two places are consistent. having both the event and the hook now is a bit weird :/
What we're doing would work with the event too, only problem is that we have to create a new media entity. But you released with the new hook, although just as an alpha I think.
Instead of updating the event in two places, we could also move the event invocation to prepareEntities(), Then it would only be needed in one place, like the hook.
Comment #4
primsi commentedI am not sure about that in InlineEntityFormMediaWidget. Given that the user already filled up fields via ief field, it's a bit strange if we change stuff afterwards. The hook gets called for InlineEntityFormMediaWidget too, yes... not sure if we want to change that.
Comment #5
VladimirMarko commentedAs #2878835: Add hook function for altering prepareEntities function in eb_widget got rejected, this is no longer needed.