-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmetadata.php
executable file
·64 lines (59 loc) · 2.02 KB
/
metadata.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/
use OxidEsales\MediaLibrary\Settings\Service\ModuleSettings;
/**
* Metadata version
*/
$sMetadataVersion = '2.1';
/**
* Module information
*/
$aModule = [
'id' => 'ddoemedialibrary',
'title' => 'Mediathek',
'description' => [
'de' => '',
'en' => '',
],
'thumbnail' => 'logo.png',
'version' => '2.1.1',
'author' => 'OXID eSales AG & digidesk - media solutions',
'url' => 'https://www.oxid-esales.com',
'email' => '[email protected]',
'extend' => [
// Core
\OxidEsales\Eshop\Core\ViewConfig::class => \OxidEsales\MediaLibrary\Transition\Core\ViewConfig::class,
\OxidEsales\Eshop\Core\Language::class => \OxidEsales\MediaLibrary\Language\Core\LanguageExtension::class,
],
'controllers' => [
// Lang
'ddoelangjs' => \OxidEsales\MediaLibrary\Language\Controller\MediaLangJs::class,
// Admin Controller
'ddoemedia_view' => \OxidEsales\MediaLibrary\Application\Controller\Admin\MediaController::class,
'ddoemedia_wrapper' => \OxidEsales\MediaLibrary\Application\Controller\Admin\MediaWrapperController::class,
],
'templates' => [
],
'events' => [
'onActivate' => '\OxidEsales\MediaLibrary\Transition\Core\Events::onActivate',
'onDeactivate' => '\OxidEsales\MediaLibrary\Transition\Core\Events::onDeactivate',
],
'blocks' => [],
'settings' => [
[
'group' => 'main',
'name' => ModuleSettings::SETTING_ALTERNATIVE_IMAGE_URL,
'type' => 'str',
'value' => '',
],
[
'group' => 'limitations',
'name' => ModuleSettings::SETTING_LIMITATIONS_ALLOWED_EXTENSIONS,
'type' => 'str',
'value' => 'jpg, jpeg, gif, png, pdf, mp3, avi, mpg, mpeg, doc, xls, ppt, avif, svg, webp, zip',
],
],
];