interface EntryFormatterInterface (View source)

Methods

string|null
format(string $mask, Entry $entry)

Format a mask given an entry

mixed
getLabel(Entry $entry)

Given no mask, we inspect the attributes on an entry to retrieve a display text label for it.

Details

string|null format(string $mask, Entry $entry)

Format a mask given an entry

Mask format will typically be something like Example %attribute_key% %association_handle

Parameters

string $mask
Entry $entry

Return Value

string|null

mixed getLabel(Entry $entry)

Given no mask, we inspect the attributes on an entry to retrieve a display text label for it.

Parameters

Entry $entry

Return Value

mixed