public function Datacite::getElements in Views OAI-PMH 8
Overrides MetadataPrefixInterface::getElements
File
- src/
Plugin/ MetadataPrefix/ Datacite.php, line 53
Class
- Datacite
- Class DublinCore.
Namespace
Drupal\views_oai_pmh\Plugin\MetadataPrefixCode
public function getElements() : array {
return [
'none' => $this
->t('- None -'),
'titles>title' => 'titles > title',
'publisher' => 'publisher',
'subjects>subject' => 'subjects>subject',
'subjects>subject@subjectScheme' => 'subjects>subject@subjectScheme',
'dates>date' => 'dates>date',
'dates>date@dateType' => 'dates>date@dateType',
'descriptions>description' => 'descriptions>description',
'descriptions>description@descriptionType' => 'descriptions>description@descriptionType',
'publicationYear' => 'publicationYear',
'identifier' => 'identifier',
'identifier@identifierType' => 'identifier@identifierType',
'creators>creator>creatorName' => 'creators>creator>creatorName',
'creators>creator>nameIdentifier' => 'creators>creator>nameIdentifier',
'creators>creator>nameIdentifier@nameIdentifierScheme' => 'creators>creator>nameIdentifier@nameIdentifierScheme',
'creators>creator>nameIdentifier@schemeURI' => 'creators>creator>nameIdentifier@schemeURI',
'contributors>contributor>contributorName' => 'contributors>contributor>contributorName',
'contributors>contributor>contributorName@contributorType' => 'contributors>contributor>contributorName@contributorType',
'contributors>contributor>nameIdentifier' => 'contributors>contributor>nameIdentifier',
'contributors>contributor>nameIdentifier@nameIdentifierScheme' => 'contributors>contributor>nameIdentifier@nameIdentifierScheme',
'contributors>contributor>nameIdentifier@schemeURI' => 'contributors>contributor>nameIdentifier@schemeURI',
'resourceType' => 'resourceType',
'resourceType@resourceTypeGeneral' => 'resourceType@resourceTypeGeneral',
'rightsList>rights' => 'rightsList>rights',
'rightsList>rights@rightsURI' => 'rightsList>rights@rightsURI',
];
}