ivyforms
/
backend
/
src
/
Services
/
Template
/
EducationAcademicResearchConferenceRegistrationFormTemplate.php
EducationAcademicResearchConferenceRegistrationFormTemplate.php in The Innovative Form Builder – IvyForms 1.5, at backend/src/Services/Template/EducationAcademicResearchConferenceRegistrationFormTemplate.php
| 1 | <?php |
| 2 | |
| 3 | namespace IvyForms\Services\Template; |
| 4 | |
| 5 | use IvyForms\Services\Translations\BackendStrings; |
| 6 | |
| 7 | class EducationAcademicResearchConferenceRegistrationFormTemplate |
| 8 | { |
| 9 | /** |
| 10 | * @return array<string, mixed> |
| 11 | */ |
| 12 | public static function getTemplateMeta(): array |
| 13 | { |
| 14 | $strings = BackendStrings::getTemplateStrings(); |
| 15 | |
| 16 | return [ |
| 17 | 'id' => 'education_academic_research_conference_registration_form', |
| 18 | 'name' => $strings['education_academic_research_conference_registration_form'], |
| 19 | 'description' => $strings['education_academic_research_conference_registration_form_desc'], |
| 20 | 'category' => 'event-registration-forms', |
| 21 | 'subcategory' => 'conference-registration-forms', |
| 22 | 'is_pro' => true, |
| 23 | 'required_plan' => 'essentials', |
| 24 | 'screenshot' => IVYFORMS_TEMPLATES_IMAGES_URL |
| 25 | . 'education-academic-research-conference-registration-form.svg', |
| 26 | ]; |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * @return array<string, mixed> |
| 31 | */ |
| 32 | public static function getTemplate(): array |
| 33 | { |
| 34 | $strings = BackendStrings::getTemplateStrings(); |
| 35 | |
| 36 | return array_merge( |
| 37 | self::getTemplateMeta(), |
| 38 | [ |
| 39 | 'form_data' => [ |
| 40 | 'name' => $strings['education_academic_research_conference_registration_form'], |
| 41 | 'published' => 1, |
| 42 | 'showTitle' => 1, |
| 43 | 'storeEntries' => 1, |
| 44 | 'integrationSettings' => TemplateDefaults::getDefaultIntegrationSettings(), |
| 45 | 'fields' => [], |
| 46 | 'settings' => [], |
| 47 | ], |
| 48 | ] |
| 49 | ); |
| 50 | } |
| 51 | } |
| 52 |