Skip to content
Snippets Groups Projects
Commit 149a17d1 authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Use VuFind initializer on controllers/controller plugins. (#1441)

- Resolves VUFIND-1348.
parent fe1ccbf2
No related merge requests found
...@@ -184,6 +184,9 @@ $config = [ ...@@ -184,6 +184,9 @@ $config = [
'VuFind\Controller\WorldcatController' => 'VuFind\Controller\AbstractBaseFactory', 'VuFind\Controller\WorldcatController' => 'VuFind\Controller\AbstractBaseFactory',
'VuFind\Controller\WorldcatrecordController' => 'VuFind\Controller\AbstractBaseFactory', 'VuFind\Controller\WorldcatrecordController' => 'VuFind\Controller\AbstractBaseFactory',
], ],
'initializers' => [
'VuFind\ServiceManager\ServiceInitializer',
],
'aliases' => [ 'aliases' => [
'AJAX' => 'VuFind\Controller\AjaxController', 'AJAX' => 'VuFind\Controller\AjaxController',
'ajax' => 'VuFind\Controller\AjaxController', 'ajax' => 'VuFind\Controller\AjaxController',
...@@ -305,6 +308,9 @@ $config = [ ...@@ -305,6 +308,9 @@ $config = [
'VuFind\Controller\Plugin\StorageRetrievalRequests' => 'VuFind\Controller\Plugin\AbstractRequestBaseFactory', 'VuFind\Controller\Plugin\StorageRetrievalRequests' => 'VuFind\Controller\Plugin\AbstractRequestBaseFactory',
'Zend\Mvc\Plugin\FlashMessenger\FlashMessenger' => 'VuFind\Controller\Plugin\FlashMessengerFactory', 'Zend\Mvc\Plugin\FlashMessenger\FlashMessenger' => 'VuFind\Controller\Plugin\FlashMessengerFactory',
], ],
'initializers' => [
'VuFind\ServiceManager\ServiceInitializer',
],
'aliases' => [ 'aliases' => [
'dbUpgrade' => 'VuFind\Controller\Plugin\DbUpgrade', 'dbUpgrade' => 'VuFind\Controller\Plugin\DbUpgrade',
'favorites' => 'VuFind\Controller\Plugin\Favorites', 'favorites' => 'VuFind\Controller\Plugin\Favorites',
......
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