| 1 |
<?php |
| 2 |
namespace Elementor\Modules\Styleguide\Controls; |
| 3 |
|
| 4 |
use Elementor\Control_Switcher; |
| 5 |
|
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit; // Exit if accessed directly. |
| 8 |
} |
| 9 |
|
| 10 |
class Switcher extends Control_Switcher { |
| 11 |
|
| 12 |
const CONTROL_TYPE = 'global-style-switcher'; |
| 13 |
|
| 14 |
/** |
| 15 |
* Get control type. |
| 16 |
* |
| 17 |
* Retrieve the control type, in this case `global-style-switcher`. |
| 18 |
* |
| 19 |
* @since 3.13.0 |
| 20 |
* @access public |
| 21 |
* |
| 22 |
* @return string Control type. |
| 23 |
*/ |
| 24 |
public function get_type() { |
| 25 |
return self::CONTROL_TYPE; |
| 26 |
} |
| 27 |
} |
| 28 |
|