App\Services\Html\BlenderFormBuilder::getSeoLabel PHP 메소드

getSeoLabel() 보호된 메소드

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