Kirki_Field_Select2_Multiple::set_multiple()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Override field methods
4
 *
5
 * @package     Kirki
6
 * @subpackage  Controls
7
 * @copyright   Copyright (c) 2017, Aristeides Stathopoulos
8
 * @license    https://opensource.org/licenses/MIT
9
 * @since       2.2.7
10
 */
11
12
/**
13
 * This is nothing more than an alias for the Kirki_Field_Select class.
14
 * In older versions of Kirki there was a separate 'select2' field.
15
 * This exists here just for compatibility purposes.
16
 */
17
class Kirki_Field_Select2_Multiple extends Kirki_Field_Select {
18
19
	/**
20
	 * Sets the $multiple
21
	 *
22
	 * @access protected
23
	 */
24
	protected function set_multiple() {
25
		$this->multiple = 999;
26
	}
27
}
28