From 9da7417a7f0df1a33152b9bd6e023245c2dea6e1 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Wed, 7 Feb 2018 15:32:37 -0500 Subject: [PATCH] Eliminate invokables from VuFindTheme config. --- module/VuFindTheme/Module.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/VuFindTheme/Module.php b/module/VuFindTheme/Module.php index ad5e28d571b..b31ea7a9d44 100644 --- a/module/VuFindTheme/Module.php +++ b/module/VuFindTheme/Module.php @@ -67,16 +67,16 @@ class Module 'factories' => [ 'VuFindTheme\MixinGenerator' => 'VuFindTheme\Module::getMixinGenerator', + 'VuFindTheme\Mobile' => + 'Zend\ServiceManager\Factory\InvokableFactory', + 'VuFindTheme\ResourceContainer' => + 'Zend\ServiceManager\Factory\InvokableFactory', 'VuFindTheme\ThemeCompiler' => 'VuFindTheme\Module::getThemeCompiler', 'VuFindTheme\ThemeGenerator' => 'VuFindTheme\Module::getThemeGenerator', 'VuFindTheme\ThemeInfo' => 'VuFindTheme\Module::getThemeInfo', ], - 'invokables' => [ - 'VuFindTheme\Mobile' => 'VuFindTheme\Mobile', - 'VuFindTheme\ResourceContainer' => 'VuFindTheme\ResourceContainer', - ], ]; } -- GitLab