HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/biblioteka/wp-content/plugins/elementor/modules/atomic-widgets/elements/widget-builder.php
<?php

namespace Elementor\Modules\AtomicWidgets\Elements;

class Widget_Builder extends Element_Builder {
	private $widget_type;

	public static function make( $widget_type ) {
		return new self( $widget_type );
	}

	private function __construct( $widget_type ) {
		$this->widget_type = $widget_type;
		$this->element_type = 'widget';
	}

	public function build() {
		return [
			'elType' => 'widget',
			'widgetType' => $this->widget_type,
			'elementType' => $this->element_type,
			'settings' => $this->settings,
			'isLocked' => $this->is_locked,
		];
	}
}