Closed (duplicate)
Project:
Paragraphs
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Jun 2017 at 09:50 UTC
Updated:
4 Jul 2017 at 16:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ginovski commentedAdded the alter hook
Comment #3
ginovski commentedComment #4
ginovski commentedSmall change in function parameters
Comment #5
primsi commentedComment #6
berdirwe should pass in the paragraph, not just the fields.
Also, the man argument should be the first, in this case the sumary.
And the question is how do you actually figure out what is where in that summary?
We should possibly conside to use keys, e.g. field names, so you can actually alter things in a useful way.
Comment #7
berdirActually, we have an issue already and someone started to work on it: #2868252: Consider adding a hook to Paragraphs::getSummary
Lets continue there. Did not review yet.