Hey, Keith! I needed a field formatter that doesn't actually display the rendered View output, but just shows the configured selections (view name, display, arguments) from each viewfield item.
This is particularly useful for Paragraphs; in the Paragraph entity "Preview" view mode, I almost never want to see the fully rendered view, but I do still want to be able to tell which view and display has been selected for that Paragraph.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | viewfield-2875920-3-title_formatter.patch | 1.97 KB | les lim |
Comments
Comment #2
les limPatch attached.
Comment #3
les limUpdated the patch to handle the case where Viewfield is referencing a deleted view display.
Comment #4
genjohnson commentedIn case anyone comes here looking for a similar solution for Drupal 7, see #2984973: Add a field formatter to show only title, display name, arguments.
Comment #6
jerdavisAdded! Thanks Les!