# ivyforms/0.8/backend/src/Services/Template/EventPhotoConsentFormTemplate.php

The Innovative Form Builder – IvyForms, version 0.8. 42 lines.

- Page: https://pluginprobe.com/plugins/ivyforms/0.8/code/backend/src/Services/Template/EventPhotoConsentFormTemplate.php
- Raw: https://pluginprobe.com/plugins/ivyforms/0.8/raw/backend/src/Services/Template/EventPhotoConsentFormTemplate.php
- Modified: 2026-01-13T11:11:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ivyforms/0.8/code/backend/src/Services/Template/EventPhotoConsentFormTemplate.php#L10-L20`.

```php
<?php

namespace IvyForms\Services\Template;

// phpcs:disable PSR1.Files.SideEffects
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}

use IvyForms\Services\Translations\BackendStrings;

class EventPhotoConsentFormTemplate
{
    /**
     * Get the event photo consent form template
     *
     * @return array<string, mixed>
     */
    public static function getTemplate(): array
    {
        return [
            'id' => 'event_photo_consent_form',
            'name' => BackendStrings::getTemplateStrings()['event_photo_consent_form'],
            'description' => BackendStrings::getTemplateStrings()['event_photo_consent_form_desc'],
            'category' => 'consent-forms',
            'is_pro' => true,
            'demo_url' => IVYFORMS_TEMPLATES_URL . '/event-photo-consent/',
            'required_plan' => 'essentials',
            'screenshot' => IVYFORMS_TEMPLATES_IMAGES_URL . 'event-photo-consent-form.svg',
            'form_data' => [
                'name' => BackendStrings::getTemplateStrings()['event_photo_consent_form'],
                'published' => 1,
                'showTitle' => 1,
                'storeEntries' => 1,
                'integrationSettings' => TemplateDefaults::getDefaultIntegrationSettings(),
                'fields' => [],
                'settings' => []
            ]
        ];
    }
}

```
