On our site we use a hook to take the value of a numeric field from the last element of a paragraph whose Boolean field has a true value.
The hook sets the numeric value of a field in the parent node, with the value indicated before.
If we enter the edit form of the parent node of the paragraph, and save the changes, the process is carried out correctly.
If we use the toggle from a view that collects the values of the elements of the paragraph to modify the Boolean value, the hook is not executed, so the numeric field of the parent node is not updated.
Is it possible to inject code to reproduce the behavior of the hook in this fantastic module?
Thanks.
Comments