/var/www/html/wp-content/plugins/elementor/modules/styleguide/controls/switcher.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
namespace Elementor\Modules\Styleguide\Controls;

use 
Elementor\Control_Switcher;

if ( ! 
defined'ABSPATH' ) ) {
    exit; 
// Exit if accessed directly
}

class 
Switcher extends Control_Switcher {

    const 
CONTROL_TYPE 'global-style-switcher';

    
/**
     * Get control type.
     *
     * Retrieve the control type, in this case `global-style-switcher`.
     *
     * @since 3.13.0
     * @access public
     *
     * @return string Control type.
     */
    
public function get_type() {
        return 
self::CONTROL_TYPE;
    }
}