first commit

This commit is contained in:
2026-04-13 13:17:58 +02:00
commit 753a9096f6
7848 changed files with 2772238 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace Elementor\Modules\Variables\Classes;
use Elementor\Modules\AtomicWidgets\PropsResolver\Transformers_Registry;
use Elementor\Modules\Variables\PropTypes\Color_Variable_Prop_Type;
use Elementor\Modules\Variables\PropTypes\Font_Variable_Prop_Type;
use Elementor\Modules\Variables\Transformers\Global_Variable_Transformer;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Style_Transformers {
public function append_to( Transformers_Registry $transformers_registry ): self {
$transformer = new Global_Variable_Transformer();
$transformers_registry->register( Color_Variable_Prop_Type::get_key(), $transformer );
$transformers_registry->register( Font_Variable_Prop_Type::get_key(), $transformer );
return $this;
}
}