Skip to content

Commit

Permalink
Merge pull request #12 from chrismacdonaldw/unri2_89
Browse files Browse the repository at this point in the history
UNRI2-89: Add persistent URL and thumbnails by default
  • Loading branch information
nchiasson-dgi authored Aug 30, 2023
2 parents d50ae4e + 974fd92 commit 37973dd
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 37973dd

Please sign in to comment.