Problem/Motivation

The "Slick Paragraphs Media", field formatter uses for the entity_reference_revisions field type, but uses the prepareView method from EntityReferenceFormatterBase.

This creates problems for content management, as this method does not support editing

Proposed resolution

Add for formatter own method prepareView. It can be copied from the EntityReference RevisionsFormatterBase

CommentFileSizeAuthor
#2 3347471-wrong-prepareview-method.patch1018 bytes_tarik_
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

_tarik_ created an issue. See original summary.

_tarik_’s picture

StatusFileSize
new1018 bytes

Copied prepareView method from EntityReferenceRevisionsFormatterBase

Attached patch

_tarik_’s picture

Status: Active » Needs review
gausarts’s picture

Thank you.

If anyone are willing to RTBC, kindly update it.

I don't currently work on it. Please allow some terrible delay :)

damienmckenna’s picture

Assigned: _tarik_ » Unassigned

As a reminder, when you're finished with your work please set the "Assigned" field to "Unassigned", that lets everyone know that you're done and they can take it from there. Thank you.

  • gausarts committed c94219f6 on 3.0.x
    Issue #3347471 by _tarik_: Wrong prepareView method
    
gausarts’s picture

Status: Needs review » Fixed

I don't bother much about admin previews.
Assumed no problems.

Thank you for contribution and patience.

Status: Fixed » Closed (fixed)

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