Browse Source

mirador

master
rdrew 1 month ago
parent
commit
e7b3cb147f
  1. 2
      olivesimagined.theme

2
olivesimagined.theme

@ -698,6 +698,7 @@ function _olivesimagined_hex_to_hsl(string $hex_string) {
return [$h, $s, $l]; return [$h, $s, $l];
} }
/*
function olivesimagined_preprocess_mirador(&$variables) { function olivesimagined_preprocess_mirador(&$variables) {
$block = \Drupal::service('plugin.manager.block')->createInstance($viewer . 'mirador_block', [ $block = \Drupal::service('plugin.manager.block')->createInstance($viewer . 'mirador_block', [
'iiif_manifest_url' => "/node/$manifest_nid/manifest-single", 'iiif_manifest_url' => "/node/$manifest_nid/manifest-single",
@ -726,3 +727,4 @@ function olivesimagined_preprocess_mirador(&$variables) {
], ],
]); ]);
} }
*/

Loading…
Cancel
Save