Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
\Drupal\extra_field\Plugin\ExtraFieldDisplayFormattedBase
allows using the field template for outputting extra field elements. However, any cache dependencies added in viewElements are not applied to the field's output.
Proposed resolution
Apply cache dependencies set in viewElements to the formatted field output.
Remaining tasks
- Write a patch
- Review
- Commit
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3087346-2.patch | 6.24 KB | idebr |
| |||
#2 | 3087346-2-test-only.patch | 5.64 KB | idebr |
Comments
Comment #2
idebr CreditAttribution: idebr at iO commentedAttached patch implements the following changes:
viewElements()
to the formatted field output.Comment #3
Sutharsan CreditAttribution: Sutharsan at LimoenGroen commentedGood catch!