Browse Source

Islandora IIIF: Check for hOCR term in config array before getting URLS.

hocr_media_redux
Alexander O'Neill 1 year ago
parent
commit
96bcc190aa
  1. 4
      modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php

4
modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php

@ -131,7 +131,9 @@ class IIIFManifest extends StylePluginBase {
$this->messenger = $messenger; $this->messenger = $messenger;
$this->moduleHandler = $moduleHandler; $this->moduleHandler = $moduleHandler;
$this->utils = $utils; $this->utils = $utils;
$this->structured_text_term = $this->utils->getTermForUri($this->options['structured_text_term_uri']); $this->structured_text_term = isset($this->options['structured_text_term_uri'])
? $this->utils->getTermForUri($this->options['structured_text_term_uri'])
: FALSE;
} }
/** /**

Loading…
Cancel
Save