PluginProbe
Themify Builder / trunk
Themify Builder vtrunk
7.8.1 7.8.0 7.7.9 7.7.8 7.7.7 7.7.6 7.7.5 7.7.4 7.7.3 7.7.2 trunk 7.6.0 7.6.1 7.6.2 7.6.3 7.6.4 7.6.5 7.6.6 7.6.7 7.6.8 7.6.9 7.7.0 7.7.1
themify-builder / modules / module-layout-part.php

module-layout-part.php in Themify Builder trunk, at modules/module-layout-part.php

39 lines 859 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined('ABSPATH') || exit;
4
5 /**
6 * Module Name: Layout Part
7 * Description: Layout Part Module
8 */
9 class TB_Layout_Part_Module extends Themify_Builder_Component_Module {
10
11
12 public static function get_module_name():string {
13 return __('Layout Part', 'themify');
14 }
15
16 public static function get_module_icon():string {
17 return 'layout';
18 }
19
20 public static function get_js_css():array {
21 return array(
22 'css' => 1
23 );
24 }
25
26 public static function get_styling_image_fields() : array {
27 return [
28 'b_i' => ''
29 ];
30 }
31
32 public static function get_static_content(array $module):string {
33 return ''; // no static content for dynamic content
34 }
35
36 public static function get_translatable_text_fields( $module ) : array {
37 return [ 'mod_title_layout_part' ];
38 }
39 }