Closed (fixed)
Project:
Paragraphs
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Nov 2019 at 00:33 UTC
Updated:
4 Jan 2023 at 19:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jstollerLooks like this broke in #3044164: Display suite field templates ignored when paragraphs are in display mode loaded by views. Here's a patch.
Comment #4
jstollerPatch committed.
Comment #6
ciss commentedComment #7
lwalley commentedApologies I have not had time to test this but just wanted to warn that the patch seems to be setting the view mode to a boolean if
#paragraphs_items_view_modeis not set - the else isisset($variables['element']['#view_mode']);:https://git.drupalcode.org/project/paragraphs/-/commit/a9368657327daee8b...
I would expect
$view_modeto be a string not a boolean - later in the code it seems to assume it is a string:https://git.drupalcode.org/project/paragraphs/-/commit/a9368657327daee8b...