TractorCow\Fluent\Extension\Traits\FluentBadgeTrait
Synopsis
trait FluentBadgeTrait
{
- // methods
- protected DBField|null addFluentBadge()
- public DBField|null getBadge()
- protected string generateBadgeHTML()
Hierarchy
Used by
Methods
protected
- addFluentBadge() — Add the Fluent state badge before any existing badges and return the result
- generateBadgeHTML()
public
- getBadge() — Given a record with Fluent enabled, return a badge that represents the state of it in the current locale