Assets::init()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
/**
4
 * @link https://www.humhub.org/
5
 * @copyright Copyright (c) 2015 HumHub GmbH & Co. KG
6
 * @license https://www.humhub.com/licences
7
 */
8
namespace humhub\modules\privacybox;
9
10
use yii\web\AssetBundle;
11
12
/**
13
 * The asset bundle for the gallery module.
14
 *
15
 * @package humhub.modules.gallery
16
 * @since 1.0
17
 * @author Sebastian Stumpf
18
 */
19
class Assets extends AssetBundle
20
{
21
22
    public $publishOptions = [
23
        'forceCopy' => true
24
    ];
25
26
    public $css = [
27
        'privacybox.css',
28
    ];
29
30
    public function init()
31
    {
32
        $this->sourcePath = dirname(__FILE__) . '/assets';
33
        parent::init();
34
    }
35
}
36