Skip to content
Snippets Groups Projects
Commit 7172268a authored by Sebastian Kehr's avatar Sebastian Kehr :rowboat_tone2:
Browse files

refs #16072 [fid_adlr] create instance specific zend module stub

parent 96c7ad94
No related merge requests found
......@@ -99,7 +99,8 @@
},
"autoload": {
"psr-4": {
"fid\\": "module/fid/src"
"fid\\": "module/fid/src",
"fid_adlr\\": "module/fid_adlr/src"
}
},
"scripts": {
......
......@@ -25,6 +25,7 @@ if ($localModules = getenv('VUFIND_LOCAL_MODULES')) {
/** Begin of temporarily necessary adjustments. */
array_push($modules, ...[
'Zend\Filter',
'Zend\Hydrator',
'Zend\Validator',
'Zend\Serializer',
'Zend\InputFilter',
......@@ -32,6 +33,7 @@ array_push($modules, ...[
'finc\SymfonySerializerZendBridge',
'finc',
'fid',
'fid_adlr',
]);
/** End of temporarily necessary adjustments. */
......
<?php
/**
* Copyright (C) 2019 Leipzig University Library
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* @author Sebastian Kehr <kehr@ub.uni-leipzig.de>
* @license http://opensource.org/licenses/gpl-2.0.php GNU GPLv2
*/
return [
];
<?php
/**
* Copyright (C) 2019 Leipzig University Library
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* @author Sebastian Kehr <kehr@ub.uni-leipzig.de>
* @license http://opensource.org/licenses/gpl-2.0.php GNU GPLv2
*/
namespace fid_adlr;
use Zend\ModuleManager\Feature\ConfigProviderInterface;
class Module implements ConfigProviderInterface
{
public function getConfig(): array
{
return require __DIR__ . '/../config/module.config.php';
}
}
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