public function getPrintExportColumns($gridField, $itemType, $exportColumns)
    {
        // Swap RelativeLink for AbsoluteLink for export
        $exportColumns['AbsoluteLink'] = _t(__CLASS__ . '.Link', 'Link');
        unset($exportColumns['RelativeLink']);

        $this->extend('updatePrintExportColumns', $gridField, $itemType, $exportColumns);

        return $exportColumns;
    }
public function getPrintExportColumns($gridField, $itemType, $exportColumns)
    {
        // Swap RelativeLink for AbsoluteLink for export
        $exportColumns['AbsoluteLink'] = _t(__CLASS__ . '.Link', 'Link');
        unset($exportColumns['RelativeLink']);

        $this->extend('updatePrintExportColumns', $gridField, $itemType, $exportColumns);

        return $exportColumns;
    }
public function getPrintExportColumns ( $ gridField , $ itemType , $ exportColumns ) { // Swap RelativeLink for AbsoluteLink for export $ exportColumns [ 'AbsoluteLink' ] = _t ( __CLASS__ . '.Link' , 'Link' ) ; unset ( $ exportColumns [ 'RelativeLink' ] ) ; $ this -> extend ( 'updatePrintExportColumns' , $ gridField , $ itemType , $ exportColumns ) ; return $ exportColumns ; }
Returns the columns for the export and print functionality.

@param GridField $gridField
@param string $itemType (i.e 'Pages' or 'Files')
@param array $exportColumns

@return array
Returns the columns for the export and print functionality .