protected function exportLinks($result)
    {
        $extraLinkList = $this->doc->createElement('ul');
        $labelFormat = LocalizationUtility::translate('download-label-format-simple', 'Pazpar2');
        if (count($result['location']) > 1) {
            $labelFormat = LocalizationUtility::translate('download-label-format-all', 'Pazpar2');
        }

        if ($this->conf['showKVKLink'] == 1) {
            $this->appendInfoToContainer($this->KVKItem($result), $extraLinkList);
        }
        $this->appendExportItemsTo($result['location'], $labelFormat, $extraLinkList);
        // Separate submenus for individual locations not implemented in the PHP version.

        $exportLinks = null;
        if ($extraLinkList->hasChildNodes()) {
            $exportLinks = $this->doc->createElement('div');
            $exportLinks->setAttribute('class', 'pz2-extraLinks');
            $exportLinksLabel = $this->doc->createElement('span');
            $exportLinks->appendChild($exportLinksLabel);
            $exportLinksLabel->setAttribute('class', 'pz2-extraLinksLabel');
            $exportLinksLabel->appendChild($this->doc->createTextNode(LocalizationUtility::translate('mehr Links', 'Pazpar2')));
            $exportLinks->appendChild($extraLinkList);
        }

        return $exportLinks;
    }