PluginProbe
The Innovative Form Builder – IvyForms / 0.5
The Innovative Form Builder – IvyForms v0.5
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.5, at backend/src/Services/Template/BlankFormTemplate.php

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