trait FluentBadgeTrait (View source)

Methods

DBField|null
getBadge(DataObject $record)

Given a record with Fluent enabled, return a badge that represents the state of it in the current locale

Details

DBField|null getBadge(DataObject $record)

Given a record with Fluent enabled, return a badge that represents the state of it in the current locale

Parameters

DataObject $record

Return Value

DBField|null