TractorCow\Fluent\Model\Locale::getBadgeLabel
Returns the label to display for Fluent badges in the CMS. By default this is the locale's URLSegment as set in /admin/locales, but can be configured with extensions.
For example, you may want to display the full locale badge: <code> public function updateBadgeLabel(&$badgeLabel) { $badgeLabel = $this->owner->Locale; } </code>
Signature
public function getBadgeLabel()
Returns
- string