| Total Complexity | 1 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class Kirki_Control_Switch extends Kirki_Control_Base { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The control type. |
||
| 24 | * |
||
| 25 | * @access public |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | public $type = 'kirki-switch'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * An Underscore (JS) template for this control's content (but not its container). |
||
| 32 | * |
||
| 33 | * Class variables for this control class are available in the `data` JS object; |
||
| 34 | * export custom variables by overriding {@see WP_Customize_Control::to_json()}. |
||
| 35 | * |
||
| 36 | * @see WP_Customize_Control::print_template() |
||
| 37 | * |
||
| 38 | * @access protected |
||
| 39 | */ |
||
| 40 | protected function content_template() { |
||
| 64 |