public function Repository::getRecord in Views OAI-PMH 8
File
- src/
Service/ Repository.php, line 109
Class
Namespace
Drupal\views_oai_pmh\ServiceCode
public function getRecord($metadataFormat, $identifier) {
if (!isset($this->records[$identifier])) {
throw new NoRecordsMatchException("Record with identifier '{$identifier}' does not exist");
}
return $this->records[$identifier];
}