Use the shared display trait to emit an independent consumer for every table cell or infolist entry:
Use $getState() in your views and escape displayed text. Wrap an entry with $getEntryWrapperView() to keep its label and infolist layout. A shared PHP formatter can produce the same presentation data for both views.
When showing the same attribute several times in one infolist, assign each entry a different key(). The trait distinguishes records and surfaces automatically. criticalStyles() is an optional choice for displays that must have their styles at first paint; leave it off for surfaces that should load only on activation.
Continue reading
Family reference · Shared asset ownership Last modified on October 17, 2026