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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3347471-wrong-prepareview-method.patch | 1018 bytes | _tarik_ |
Issue fork slick_paragraphs-3347471
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
Comment #2
_tarik_ commentedCopied prepareView method from EntityReferenceRevisionsFormatterBase
Attached patch
Comment #4
_tarik_ commentedComment #5
gausarts commentedThank you.
If anyone are willing to RTBC, kindly update it.
I don't currently work on it. Please allow some terrible delay :)
Comment #6
damienmckennaAs 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.
Comment #8
gausarts commentedI don't bother much about admin previews.
Assumed no problems.
Thank you for contribution and patience.