public function getTypeValue()
    {
        return function($row) {
            $name = is_null($row->component_name) ? 'core' : $row->component_name;

            return '<span class="label-circle" data-color="' . component_color($name) . '" >' . ucfirst(Str::humanize($name)) . '</span>';
        };
    }
public function getTypeValue()
    {
        return function($row) {
            $name = is_null($row->component_name) ? 'core' : $row->component_name;

            return '<span class="label-circle" data-color="' . component_color($name) . '" >' . ucfirst(Str::humanize($name)) . '</span>';
        };
    }
public function getTypeValue ( ) { return function ( $ row ) { $ name = is_null ( $ row -> component_name ) ? 'core' : $ row -> component_name ; return '<span class="label-circle" data-color="' . component_color ( $ name ) . '" >' . ucfirst ( Str :: humanize ( $ name ) ) . '</span>' ; } ; }
Gets type value

@param \Illuminate\Database\Eloquent\Model $row
@return Closure
Gets type value