Backend\Core\Engine\TemplateModifiers::toLabel PHP Method

toLabel() public static method

syntax: {{ var|tolabel }}.
public static toLabel ( string $value ) : string
$value string The value to convert to a label.
return string
    public static function toLabel($value)
    {
        return \SpoonFilter::ucfirst(BackendLanguage::lbl(\SpoonFilter::toCamelCase($value, '_', false)));
    }