includes
1 year ago
BeaverBuilder.php
1 year ago
EverestFormModule.php
1 year ago
Helper.php
1 year ago
EverestFormModule.php
39 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Custom Course Lists Module Class |
| 4 | * |
| 5 | * @since 1.10.0 [Free] |
| 6 | */ |
| 7 | |
| 8 | |
| 9 | namespace EverestForms\Addons\BeaverBuilder; |
| 10 | |
| 11 | class EverestFormModule extends \FLBuilderModule { |
| 12 | public function __construct() { |
| 13 | parent::__construct( |
| 14 | array( |
| 15 | 'name' => __( 'Everest Forms', 'everest-forms' ), |
| 16 | 'description' => __( 'Renders the everest form', 'everest-forms' ), |
| 17 | 'category' => __( 'Everest Forms', 'everest-forms' ), |
| 18 | 'dir' => __DIR__, |
| 19 | 'url' => __DIR__, |
| 20 | 'editor_export' => true, |
| 21 | 'enabled' => true, |
| 22 | 'partial_refresh' => false, |
| 23 | 'include_wrapper' => false, |
| 24 | ) |
| 25 | ); |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Icon for the Everest Forms module. |
| 30 | * |
| 31 | * @since 3.0.5 |
| 32 | * |
| 33 | * @param string $icon |
| 34 | */ |
| 35 | public function get_icon( $icon = '' ) { |
| 36 | return file_get_contents( evf()->plugin_path() . '/assets/images/icons/everest_forms_black_logo.svg' ); |
| 37 | } |
| 38 | } |
| 39 |