Skip to content

Commit

Permalink
Add persistent URL and thumbnails by default
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismacdonaldw committed Aug 28, 2023
1 parent d50ae4e commit 974fd92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Plugin/OaiMetadataMap/DgiStandard.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ protected function addFields(ContentEntityInterface $entity) {
$this->elements['edm:preview'][] = $file->createFileUrl(FALSE);
}
}

$this->addPersistentUrl($entity, 'dcterms:identifier', TRUE);
$this->addThumbnail($entity, 'dcterms:identifier');
}

/**
Expand Down

0 comments on commit 974fd92

Please sign in to comment.