Skip to content
Snippets Groups Projects
Commit a06d1867 authored by Demian Katz's avatar Demian Katz
Browse files

Finished theme initialization -- theme options are now correctly passed to view.

parent 52207ecf
No related merge requests found
...@@ -259,7 +259,11 @@ class Initializer ...@@ -259,7 +259,11 @@ class Initializer
*/ */
protected function sendThemeOptionsToView() 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());
} }
/** /**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment