src/Extension/FluentBadgeExtension.php
public function updateBadge(&$badgeField)
    {
        /** @var DataObject $record */
        $record = $this->owner->getRecord();

        $badgeField = $this->addFluentBadge($badgeField, $record);
    }
public function updateBadge(&$badgeField)
    {
        /** @var DataObject $record */
        $record = $this->owner->getRecord();

        $badgeField = $this->addFluentBadge($badgeField, $record);
    }
public function updateBadge ( & $ badgeField ) { /** @var DataObject $record */ $ record = $ this -> owner -> getRecord ( ) ; $ badgeField = $ this -> addFluentBadge ( $ badgeField , $ record ) ; }
Push a badge to indicate the language that owns the current item

@param DBField|null $badgeField
Push a badge to indicate the language that owns the current item