Kyslik\ColumnSortable\SortableLink::applyFormatting PHP Method

applyFormatting() private static method

private static applyFormatting ( string $title ) : string
$title string
return string
    private static function applyFormatting($title)
    {
        $formatting_function = Config::get('columnsortable.formatting_function', null);
        if (!is_null($formatting_function) && function_exists($formatting_function)) {
            $title = call_user_func($formatting_function, $title);
        }
        return $title;
    }