Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have a patch that fixes support for fieldable panel panes. Not every entity has a 'type' property, although I think every entity has a 'bundle' property.
Comment | File | Size | Author |
---|---|---|---|
#6 | imageinfo_cache-2393637-6-support-sub-entity-types.patch | 727 bytes | mikeytown2 |
#5 | interdiff-2393637-4-5.txt | 1.03 KB | Dane Powell |
#5 | imageinfo_cache-2393637-5.patch | 1.57 KB | Dane Powell |
Comments
Comment #1
drupalninja99 CreditAttribution: drupalninja99 commentedThere is probably a cleaner more universal way to support additional entity types, but here is a simple fix that adds support for fieldable panel panes.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedComment #3
DamienMcKennaThe correct way of doing this is:
Comment #4
DamienMcKenna.. like this :)
Comment #5
Dane Powell CreditAttribution: Dane Powell commentedYou're both wrong :)
Comment #6
mikeytown2 CreditAttribution: mikeytown2 commentedNew patch based off the latest commits.
entity_extract_ids looks like it could be slow; use that as a fallback.