forked from OXIDprojects/oxid-cookie-consent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.php
More file actions
49 lines (40 loc) · 2.13 KB
/
Copy pathmetadata.php
File metadata and controls
49 lines (40 loc) · 2.13 KB
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
<?php
$sMetadataVersion = '2.1';
$aModule = [
'id' => 'oxps/cookiemanager',
'title' => 'CookieManager',
'description' => 'Dieses Modul ist für das Managen von Cookies zuständig!',
'version' => '1.0',
'author' => 'Moritz Demmer',
'events' => array(
'onActivate' => '\OxidProfessionalServices\CookieManager\Core\Events::onActivate',
'onDeactivate' => '\OxidProfessionalServices\CookieManager\Core\Events::onDeactivate'
),
'templates' => array(),
'blocks' => array(
array(
'template' => 'layout/page.tpl',
'block' => 'layout_header',
'file' => 'views/blocks/page.tpl',
),
),
'settings' => array(
array('group' => 'cookiemanager_main', 'name' => 'cmHashtag', 'type' => 'str', 'value' => '#tarteaucitron'),
array('group' => 'cookiemanager_main', 'name' => 'cmCookieName', 'type' => 'str', 'value' => 'tartaucitron'),
array('group' => 'cookiemanager_main', 'name' => 'cmOrientation', 'type' => 'str', 'value' => 'bottom'),
array('group' => 'cookiemanager_main', 'name' => 'cmShowAlertSmall', 'type' => 'bool', 'value' => 'true'),
array('group' => 'cookiemanager_main', 'name' => 'cmCookiesList', 'type' => 'bool', 'value' => 'true'),
array('group' => 'cookiemanager_main', 'name' => 'cmAdblocker', 'type' => 'bool', 'value' => 'false'),
array('group' => 'cookiemanager_main', 'name' => 'cmAcceptAllCta', 'type' => 'bool', 'value' => 'true'),
array('group' => 'cookiemanager_main', 'name' => 'cmHighPrivacy', 'type' => 'bool', 'value' => 'false'),
array('group' => 'cookiemanager_main', 'name' => 'cmHandleBrowserDNTRequest',
'type' => 'bool', 'value' => 'false'),
array('group' => 'cookiemanager_main', 'name' => 'cmRemoveCredit', 'type' => 'bool', 'value' => 'false'),
array('group' => 'cookiemanager_main', 'name' => 'cmMoreInfoLink', 'type' => 'bool', 'value' => 'true')
),
'controllers' => array(
),
'extend' => array(
\OxidEsales\Eshop\Core\ViewConfig::class => \OxidProfessionalServices\CookieManager\Core\ViewConfig::class
)
];