| 1 |
<?php |
| 2 |
defined('ABSPATH') || exit; |
| 3 |
|
| 4 |
/** |
| 5 |
* Module Name: HTML / Text / Shortcode |
| 6 |
* Description: Display plain text |
| 7 |
*/ |
| 8 |
class TB_Plain_Text_Module extends Themify_Builder_Component_Module { |
| 9 |
|
| 10 |
|
| 11 |
public static function get_module_name():string { |
| 12 |
return __('HTML / Text / Shortcode', 'themify'); |
| 13 |
} |
| 14 |
|
| 15 |
public static function get_module_icon():string { |
| 16 |
return 'text'; |
| 17 |
} |
| 18 |
|
| 19 |
public static function get_styling_image_fields() : array { |
| 20 |
return [ |
| 21 |
'background_image' => '' |
| 22 |
]; |
| 23 |
} |
| 24 |
|
| 25 |
public static function get_translatable_text_fields( $module ) : array { |
| 26 |
return [ 'plain_text' ]; |
| 27 |
} |
| 28 |
} |