App\Services\Html\BlenderFormBuilder::getSeoLabel PHP Method

getSeoLabel() protected method

protected getSeoLabel ( string $attribute ) : string
$attribute string
return string
    protected function getSeoLabel(string $attribute) : string
    {
        if (starts_with($attribute, 'meta_')) {
            return 'Meta: ' . substr($attribute, 5);
        }
        return fragment("back.seo.{$attribute}");
    }