# elementor/3.6.0-dev1/modules/dev-tools/module.php

Elementor Website Builder – more than just a page builder, version 3.6.0-dev1. 41 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.6.0-dev1/code/modules/dev-tools/module.php
- Raw: https://pluginprobe.com/plugins/elementor/3.6.0-dev1/raw/modules/dev-tools/module.php
- Modified: 2021-01-07T16:38:58+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.6.0-dev1/code/modules/dev-tools/module.php#L10-L20`.

```php
<?php
namespace Elementor\Modules\DevTools;

use Elementor\Core\Base\Module as BaseModule;

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

/**
 * Fix issue with 'Potentially polymorphic call. The code may be inoperable depending on the actual class instance passed as the argument.'.
 * Its tells to the editor that instance() return right module. instead of base module.
 * @method Module instance()
*/
class Module extends BaseModule {
	/**
	 * @var Deprecation
	 */
	public $deprecation;

	public function __construct() {
		$this->deprecation = new Deprecation( ELEMENTOR_VERSION );

		add_filter( 'elementor/editor/localize_settings', [ $this, 'localize_settings' ] );
	}

	public function get_name() {
		return 'dev-tools';
	}

	public function localize_settings( $settings ) {
		$settings = array_replace_recursive( $settings, [
			'dev_tools' => [
				'deprecation' => $this->deprecation->get_settings(),
			],
		] );

		return $settings;
	}
}

```
