# elementor/3.32.0-dev2/modules/styleguide/controls/switcher.php

Elementor Website Builder – more than just a page builder, version 3.32.0-dev2. 28 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.32.0-dev2/code/modules/styleguide/controls/switcher.php
- Raw: https://pluginprobe.com/plugins/elementor/3.32.0-dev2/raw/modules/styleguide/controls/switcher.php
- Modified: 2025-03-17T13:28:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.32.0-dev2/code/modules/styleguide/controls/switcher.php#L10-L20`.

```php
<?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;
	}
}

```
