Passed
Push — develop ( 319bd8...330c7a )
by Neill
16:41 queued 15s
created

UserSelectorMultiple::getComponentDetails()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
1
<?php
2
/**
3
 * @link http://www.newicon.net/neon
4
 * @copyright Copyright (c) 2016 Newicon Ltd
5
 * @license http://www.newicon.net/neon/license/
6
 * @author Steve O'Brien <[email protected]> 02/12/2016 10:58
7
 * @package neon
8
 */
9
10
namespace neon\user\form\fields;
11
12
use \neon\core\form\fields\Link;
13
14
/**
15
 * Class PageSelector - provides a drop down list of web pages
16
 * @package neon\cms\form\fields
17
 */
18
class UserSelectorMultiple extends Link
19
{
20
	public $dataMapProvider = 'user';
21
	public $dataMapKey = 'users';
22
23
		/**
24
	 * @inheritdoc
25
	 */
26
	public function getComponentDetails()
27
	{
28
		return [
29
			'label' => 'Link Users', 'icon' => 'fa fa-link', 'group' => 'Table Links', 'order' => 430,
30
		];
31
	}
32
}