Browse Source

Islandora IIIF: Fix OCR term field initialization.

hocr_media_redux
Alexander O'Neill 2 years ago
parent
commit
07dc9864d0
  1. 1
      modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php

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

@ -168,6 +168,7 @@ class IIIFManifest extends StylePluginBase {
* {@inheritdoc} * {@inheritdoc}
*/ */
public function render() { public function render() {
$this->structured_text_term = $this->utils->getTermForUri($this->options['structured_text_term_uri']);
$json = []; $json = [];
$iiif_address = $this->iiifConfig->get('iiif_server'); $iiif_address = $this->iiifConfig->get('iiif_server');
if (!is_null($iiif_address) && !empty($iiif_address)) { if (!is_null($iiif_address) && !empty($iiif_address)) {

Loading…
Cancel
Save