PluginProbe
The Innovative Form Builder – IvyForms / 0.8
The Innovative Form Builder – IvyForms v0.8
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 / EventPhotoConsentFormTemplate.php

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

42 lines 1.3 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 EventPhotoConsentFormTemplate
13 {
14 /**
15 * Get the event photo consent form template
16 *
17 * @return array<string, mixed>
18 */
19 public static function getTemplate(): array
20 {
21 return [
22 'id' => 'event_photo_consent_form',
23 'name' => BackendStrings::getTemplateStrings()['event_photo_consent_form'],
24 'description' => BackendStrings::getTemplateStrings()['event_photo_consent_form_desc'],
25 'category' => 'consent-forms',
26 'is_pro' => true,
27 'demo_url' => IVYFORMS_TEMPLATES_URL . '/event-photo-consent/',
28 'required_plan' => 'essentials',
29 'screenshot' => IVYFORMS_TEMPLATES_IMAGES_URL . 'event-photo-consent-form.svg',
30 'form_data' => [
31 'name' => BackendStrings::getTemplateStrings()['event_photo_consent_form'],
32 'published' => 1,
33 'showTitle' => 1,
34 'storeEntries' => 1,
35 'integrationSettings' => TemplateDefaults::getDefaultIntegrationSettings(),
36 'fields' => [],
37 'settings' => []
38 ]
39 ];
40 }
41 }
42