Child issue of #2860796: Plan for contributed modules with Media Entity API in core
This module depends on Media Entity, so if we want it to be used with Media in core, a new branch will be necessary.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | meb-2906068.patch | 4.98 KB | larowlan |
| #13 | interdiff.2906068.txt | 2.14 KB | larowlan |
| #9 | create_a_new_branch-2906068-9.patch | 4.2 KB | mglaman |
| #2 | media_entity_browser-2906068-2.patch | 2.48 KB | garphy |
Comments
Comment #2
garphyHere's a quick attempt to switch the dependencies from media_entity to media and make it work.
I did not attempted to reviews the tests for now.
Comment #3
BarisW commentedComment #4
sam152 commentedDon't think I fully trust the test coverage for this one.
Comment #5
goz commentedI make the same changes but have issue:
Comment #6
mglamanConfirming #5. Crashes on install.
Comment #7
goz commentedMy bad, this works based on 8.x-1.x-dev like defined in issue description
on 8.x-1.x-dev, entity_browser.browser.media_entity_browser.yml set the config as explained by #2845037: Fix the call to a member function getConfigDependencyKey() on null on Widget view and SelectionDisplay view
Comment #8
mglamanWhen using dev for #7 tests have the error
That's because the view in -dev uses
media_bulk_formfrom media_entityComment #9
mglamanNew patch attempt.
Comment #10
sam152 commentedComment #12
jsheffers commentedPatch in #9 seems to work for me. I was able to get it installed on 8.4, add/remove multiple media entities. All of the changes to the entity browser seem to function properly as well.
Comment #13
larowlanThis passes locally
Comment #15
larowlanComment #16
larowlanCommitted this to 8.x-2.x
Will create an alpha