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 / TemplateDefaults.php

TemplateDefaults.php in The Innovative Form Builder – IvyForms 0.5, at backend/src/Services/Template/TemplateDefaults.php

41 lines 831 B
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 // phpcs:disable PSR1.Files.SideEffects
8 if (!defined('ABSPATH')) {
9 exit; // Exit if accessed directly
10 }
11
12 /**
13 * Class TemplateDefaults
14 * Holds default configuration values for form templates
15 *
16 * @package IvyForms\Services\Template
17 */
18 class TemplateDefaults
19 {
20 /**
21 * Default integration settings for new forms
22 *
23 * @var array<string, array<string, mixed>>
24 */
25 public const DEFAULT_INTEGRATION_SETTINGS = [
26 'wpdatatables' => [
27 'enabled' => true
28 ]
29 ];
30
31 /**
32 * Get default integration settings
33 *
34 * @return array<string, array<string, mixed>>
35 */
36 public static function getDefaultIntegrationSettings(): array
37 {
38 return self::DEFAULT_INTEGRATION_SETTINGS;
39 }
40 }
41