Completed
Branch develop (17e8cf)
by Nate
10:01
created

UserList   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 14
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 6 1
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 * @license    https://www.flipboxfactory.com/software/element-lists/license
6
 * @link       https://www.flipboxfactory.com/software/element-lists/
7
 */
8
9
namespace flipbox\craft\element\lists\fields;
10
11
use craft\fields\Users;
12
13
/**
14
 * @author Flipbox Factory <[email protected]>
15
 * @since 1.0.0
16
 */
17
class UserList extends Users implements ElementListInterface
18
{
19
    use ElementListTrait;
20
21
    /**
22
     * @inheritdoc
23
     */
24
    public function init()
25
    {
26
        parent::init();
27
        $this->inputTemplate = 'element-lists/_components/fieldtypes/ElementSource';
28
        $this->inputJsClass = 'Craft.NestedElementIndexSelectInput';
29
    }
30
}
31