PluginProbe
The Innovative Form Builder – IvyForms / 0.6.1-backup
The Innovative Form Builder – IvyForms v0.6.1-backup
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / backend / src / Services / Template / BlankFormTemplate.php

BlankFormTemplate.php in The Innovative Form Builder – IvyForms 0.6.1-backup, at backend/src/Services/Template/BlankFormTemplate.php

41 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace IvyForms\Services\Template;
4
5 // phpcs:disable PSR1.Files.SideEffects
6 if (!defined('ABSPATH')) {
7 exit; // Exit if accessed directly
8 }
9
10 use IvyForms\Services\Translations\BackendStrings;
11
12 class BlankFormTemplate
13 {
14 /**
15 * Get the blank form template
16 *
17 * @return array<string, mixed>
18 */
19 public static function getTemplate(): array
20 {
21 return [
22 'id' => 'blank_form',
23 'name' => BackendStrings::getSettingsFormBuilderStrings()['blank_form'],
24 'description' => '',
25 'category' => 'basic',
26 'is_pro' => false,
27 'screenshot' => '',
28 'form_data' => [
29 'name' => BackendStrings::getSettingsFormBuilderStrings()['blank_form'],
30 'description' => '',
31 'published' => 1,
32 'showTitle' => 1,
33 'storeEntries' => 1,
34 'integrationSettings' => TemplateDefaults::getDefaultIntegrationSettings(),
35 'fields' => [],
36 'settings' => []
37 ]
38 ];
39 }
40 }
41