Should live on bundle edit form or on individual field edit forms.

Follow-up of #2335645: Implement support for media type plugins (providers).

Comments

slashrsm’s picture

Issue tags: +Media Initiative, +sprint
slashrsm’s picture

Issue tags: -sprint +D8Media
slashrsm’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new129.08 KB
new12.33 KB

Attached patch adds "Field mapping" section to the media bundle config form:

It gets list of all metadata fields type plugin provides and allows user to select which entity field those should be mapped to.

Had to change field_map schema definition to "ignore" as it was incomplete. We should find some other solution. I am not sure if core provides and data type that could be used. Otherwise we'll have to implement a custom one.

Status: Needs review » Needs work

The last submitted patch, 3: 2336157_3.patch, failed testing.

slashrsm’s picture

Status: Needs work » Needs review
StatusFileSize
new12.38 KB
new1004 bytes

@Berdir suggested to use sequence.

Status: Needs review » Needs work

The last submitted patch, 5: 2336157_5.patch, failed testing.

slashrsm’s picture

Status: Needs work » Needs review
StatusFileSize
new12.39 KB
new855 bytes

Let's see if this passes.

Status: Needs review » Needs work

The last submitted patch, 7: 2336157_7.patch, failed testing.

slashrsm’s picture

Status: Needs work » Needs review
StatusFileSize
new14.04 KB
new2.49 KB

Another try... Passes locally and testbot complains.

Status: Needs review » Needs work

The last submitted patch, 9: 2336157_9.patch, failed testing.

slashrsm’s picture

Status: Needs work » Needs review
StatusFileSize
new13.6 KB

Status: Needs review » Needs work

The last submitted patch, 11: 2336157_11.patch, failed testing.

  • slashrsm committed dd7f335 on 8.x-1.x
    Issue #2336157 by slashrsm: Provide UI for field mapping.
    
slashrsm’s picture

Status: Needs work » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.