public function actions($actions)
    {
        $substitutes = $this->config('substitutes');

        foreach ($actions as $name => $config) {
            if (array_key_exists($name, $substitutes)) {
                $actions[$name]['title'] = '<i class="' . $substitutes[$name] . '"></i>';
            }
        }

        return $actions;
    }
public function actions($actions)
    {
        $substitutes = $this->config('substitutes');

        foreach ($actions as $name => $config) {
            if (array_key_exists($name, $substitutes)) {
                $actions[$name]['title'] = '<i class="' . $substitutes[$name] . '"></i>';
            }
        }

        return $actions;
    }
public function actions ( $ actions ) { $ substitutes = $ this -> config ( 'substitutes' ) ; foreach ( $ actions as $ name => $ config ) { if ( array_key_exists ( $ name , $ substitutes ) ) { $ actions [ $ name ] [ 'title' ] = '<i class="' . $ substitutes [ $ name ] . '"></i>' ; } } return $ actions ; }
This method replaces a string by an action icon. Mainly used for action
icons
This method replaces a string by an action icon . Mainly used for action icons