| 1 |
<?php |
| 2 |
|
| 3 |
defined('ABSPATH') || exit; |
| 4 |
|
| 5 |
/** |
| 6 |
* Module Name: Menu |
| 7 |
* Description: Display Custom Menu |
| 8 |
*/ |
| 9 |
class TB_Menu_Module extends Themify_Builder_Component_Module { |
| 10 |
|
| 11 |
|
| 12 |
public static function get_module_name():string { |
| 13 |
return __('Menu', 'themify'); |
| 14 |
} |
| 15 |
|
| 16 |
|
| 17 |
public static function get_module_icon():string { |
| 18 |
return 'view-list'; |
| 19 |
} |
| 20 |
|
| 21 |
public static function get_js_css():array { |
| 22 |
return array( |
| 23 |
'css' => 1, |
| 24 |
'js' => 1 |
| 25 |
); |
| 26 |
} |
| 27 |
|
| 28 |
public static function get_translatable_text_fields( $module ) : array { |
| 29 |
return [ 'mod_title_menu' ]; |
| 30 |
} |
| 31 |
} |