PluginProbe
The Innovative Form Builder – IvyForms / 0.8
The Innovative Form Builder – IvyForms v0.8
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 1.2 1.3
ivyforms / backend / src / Services / Template / TemplateDefaults.php

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

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