-
Notifications
You must be signed in to change notification settings - Fork 10
/
metadata.php
102 lines (99 loc) · 3.93 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
/**
* This file is part of OXID eSales GDPR opt-in module.
*
* OXID eSales GDPR opt-in module is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* OXID eSales GDPR opt-in module 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 OXID eSales GDPR opt-in module. If not, see <http://www.gnu.org/licenses/>.
*
* @link http://www.oxid-esales.com
* @copyright (C) OXID eSales AG 2003-2018
*/
use OxidEsales\Eshop\Application\Component\Widget\ArticleDetails;
use OxidEsales\Eshop\Application\Component\Widget\Review;
use OxidEsales\Eshop\Application\Component\UserComponent;
use OxidEsales\Eshop\Application\Controller\ReviewController;
use OxidEsales\Eshop\Application\Controller\ArticleDetailsController;
use OxidEsales\Eshop\Application\Controller\ContactController;
use OxidEsales\Eshop\Core\ViewConfig;
/**
* Metadata version
*/
$sMetadataVersion = '2.0';
/**
* Module information
*/
$aModule = [
'id' => 'oegdproptin',
'title' => [
'de' => 'GDPR Opt-in',
'en' => 'GDPR Opt-in',
],
'description' => [
'de' => 'Das Modul stellt Opt-in-Funktionalität für die Datenschutz-Grundverordnung (DSGVO) bereit',
'en' => 'This module provides the opt-in functionality for the European General Data Protection Regulation (GDPR)',
],
'thumbnail' => 'logo.png',
'version' => '4.1.0',
'author' => 'OXID eSales AG',
'url' => 'https://www.oxid-esales.com/',
'email' => '',
'extend' => [
ViewConfig::class => \OxidEsales\GdprOptinModule\Core\ViewConfig::class,
ArticleDetails::class => \OxidEsales\GdprOptinModule\Component\Widget\ArticleDetails::class,
Review::class => \OxidEsales\GdprOptinModule\Component\Widget\Review::class,
UserComponent::class => \OxidEsales\GdprOptinModule\Component\UserComponent::class,
ReviewController::class => \OxidEsales\GdprOptinModule\Controller\ReviewController::class,
ArticleDetailsController::class => \OxidEsales\GdprOptinModule\Controller\ArticleDetailsController::class,
ContactController::class => \OxidEsales\GdprOptinModule\Controller\ContactController::class
],
'settings' => [
[
'group' => 'oegdproptin_settings',
'name' => 'blOeGdprOptinInvoiceAddress',
'type' => 'bool',
'value' => 'false'
],
[
'group' => 'oegdproptin_settings',
'name' => 'blOeGdprOptinDeliveryAddress',
'type' => 'bool',
'value' => 'false'
],
[
'group' => 'oegdproptin_settings',
'name' => 'blOeGdprOptinUserRegistration',
'type' => 'bool',
'value' => 'false'
],
[
'group' => 'oegdproptin_settings',
'name' => 'blOeGdprOptinProductReviews',
'type' => 'bool',
'value' => 'false'
],
[
'group' => 'oegdproptin_contact_form',
'name' => 'OeGdprOptinContactFormMethod',
'type' => 'select',
'value' => 'deletion',
'constraints' => 'deletion|statistical',
],
],
'events' => [
'onActivate' => 'OxidEsales\GdprOptinModule\Core\GdprOptinModule::onActivate',
'onDeactivate' => 'OxidEsales\GdprOptinModule\Core\GdprOptinModule::onDeactivate',
],
'controllers' => [
'oegdproptin_user_data_export' => \OxidEsales\GdprOptinModule\UserData\Controller\UserDataExportController::class,
],
];