FieldMappingAsset   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 12
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 10 1
1
<?php
2
/**
3
 * Socializer plugin for Craft CMS 3.x
4
 *
5
 * @link      https://enupal.com/
6
 * @copyright Copyright (c) 2019 Enupal LLC
7
 */
8
9
namespace enupal\socializer\web\assets\fieldmapping;
10
11
use craft\web\AssetBundle;
12
use craft\web\assets\cp\CpAsset;
13
14
class FieldMappingAsset extends AssetBundle
15
{
16
    public function init()
17
    {
18
        // define the path that your publishable resources live
19
        $this->sourcePath = '@enupal/socializer/web/assets/fieldmapping';
20
21
        $this->js = [
22
            'dist/js/fieldmapping.min.js'
23
        ];
24
25
        parent::init();
26
    }
27
}