From d31f5df9c3f2ccbd3b7e3135a0811ec668f14505 Mon Sep 17 00:00:00 2001
From: rdrew <rdrew@upei.ca>
Date: Thu, 27 Feb 2025 10:37:14 -0400
Subject: [PATCH] mirador

---
 olivesimagined.theme | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/olivesimagined.theme b/olivesimagined.theme
index 3f6857c..a492586 100755
--- a/olivesimagined.theme
+++ b/olivesimagined.theme
@@ -699,7 +699,7 @@ function _olivesimagined_hex_to_hsl(string $hex_string) {
 }
 
 function olivesimagined_preprocess_mirador(&$variables) {
-  $block = \Drupal::service('plugin.manager.block')->createInstance($viewer . '_block', [
+  $block = \Drupal::service('plugin.manager.block')->createInstance($viewer . 'mirador_block', [
     'iiif_manifest_url' => "/node/$manifest_nid/manifest-single",
     'thumbnail_navigation_position' => 'hidden',
     'window_config' => [