src/Forms/GridField/GridField.php
public function getColumns()
    {
        $columns = array();

        foreach ($this->getComponents() as $item) {
            if ($item instanceof GridField_ColumnProvider) {
                $item->augmentColumns($this, $columns);
            }
        }

        return $columns;
    }
public function getColumns()
    {
        $columns = array();

        foreach ($this->getComponents() as $item) {
            if ($item instanceof GridField_ColumnProvider) {
                $item->augmentColumns($this, $columns);
            }
        }

        return $columns;
    }
public function getColumns ( ) { $ columns = array ( ) ; foreach ( $ this -> getComponents ( ) as $ item ) { if ( $ item instanceof GridField_ColumnProvider ) { $ item -> augmentColumns ( $ this , $ columns ) ; } } return $ columns ; }
Get the columns of this GridField, they are provided by attached GridField_ColumnProvider.

@return array
Get the columns of this GridField they are provided by attached GridField_ColumnProvider .