Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a Paragraph field with an entity reference to a part node and a current cost field. The part node has a cost field. I need to get the amount from the cost filed on the part node via the entity reference in to the current cost calculation field. How do I access the fields on the part node?
Comments
Comment #2
Ahmad AlSabhany CreditAttribution: Ahmad AlSabhany commentedHello, I need this feature since the D8 doesn't include a proper method of calculating values in views.
The issue is that the field that references the "entity" has to be set to "unlimited" in my case. Therefore, calling entities statically (by title) is not going to work for me. I need a dynamic way to access specific fields (price, amount) of each referenced entity, which then I will use to report a computed value.