| 1 |
<?php |
| 2 |
|
| 3 |
namespace Elementor\Modules\Interactions\Schema; |
| 4 |
|
| 5 |
use Elementor\Modules\Interactions\Props\Interaction_Item_Prop_Type; |
| 6 |
|
| 7 |
if ( ! defined( 'ABSPATH' ) ) { |
| 8 |
exit; // Exit if accessed directly. |
| 9 |
} |
| 10 |
|
| 11 |
class Interactions_Schema { |
| 12 |
public static function get() { |
| 13 |
return apply_filters( 'elementor/atomic-widgets/interactions/schema', static::get_interactions_schema() ); |
| 14 |
} |
| 15 |
|
| 16 |
public static function get_interactions_schema(): array { |
| 17 |
return [ |
| 18 |
'version' => 1, |
| 19 |
'items' => [ Interaction_Item_Prop_Type::make()->description( 'Interaction item' ) ], |
| 20 |
]; |
| 21 |
} |
| 22 |
} |
| 23 |
|