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.
Currently we have 'label' and 'rendered entity' formatters,
can we have formatter:fields which can have a sub-widget: "as table headers" much like measured value fields(MVF) for multi value fields(field collection).
this can enhance the usability of entity reference
Comment | File | Size | Author |
---|---|---|---|
#2 | first iteration of entityreference_field formatter-1972382-2.patch | 3.17 KB | jcarrothers |
Comments
Comment #1
kaizerking CreditAttribution: kaizerking commentedAny help from any quarters please
i want to get some fields of the referenced entity in to form dynamically.something like using ajax
Comment #2
jcarrothers CreditAttribution: jcarrothers commentedI needed something along these lines for my own site and so here is a patch of the very rough start that I have working for my own site.
This patch is very rough and needs work, but it works for my own sight where the field I want to pull a value from only allows a single value.
Work that still needs to be done:
- handle fields with multiple values
- "correctly" reference the field data structure of the referenced entity