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