diff --git a/module/VuFind/src/VuFind/Theme/Initializer.php b/module/VuFind/src/VuFind/Theme/Initializer.php index 9cde9aa8dac087f504b589af3e0a484e5cdc6fa8..ca0f1c81c30fe7b4b23967839de1621d00b60d4d 100644 --- a/module/VuFind/src/VuFind/Theme/Initializer.php +++ b/module/VuFind/src/VuFind/Theme/Initializer.php @@ -259,7 +259,11 @@ class Initializer */ protected function sendThemeOptionsToView() { - // TODO + // Get access to the view model: + $viewModel = $this->serviceManager->get('viewmanager')->getViewModel(); + + // Send down the view options: + $viewModel->setVariable('themeOptions', $this->getThemeOptions()); } /**