feat(main): Initial Module

This commit is contained in:
2026-06-23 10:36:51 +02:00
parent d84aa7c701
commit 9ee25402df
26 changed files with 1121 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
services:
websmid.customhtml.form.type.customhtml:
public: true
class: 'Websmid\CustomHtml\Form\Type\CustomHtmlType'
parent: 'form.type.translatable.aware'
tags:
- { name: form.type }
websmid.customhtml.form.customhtml_data_provider:
public: true
class: 'Websmid\CustomHtml\Form\DataProvider\CustomHtmlDataProvider'
websmid.customhtml.form.customhtml_data_form_builder:
public: true
class: 'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Builder\FormBuilder'
factory:
- '@prestashop.core.form.builder.form_builder_factory'
- 'create'
arguments:
- 'Websmid\CustomHtml\Form\Type\CustomHtmlType'
- '@websmid.customhtml.form.customhtml_data_provider'
websmid.customhtml.form.customhtml_data_handler:
public: true
class: 'Websmid\CustomHtml\Form\DataHandler\CustomHtmlDataHandler'
websmid.customhtml.form.customhtml_form_handler:
public: true
class: 'PrestaShop\PrestaShop\Core\Form\IdentifiableObject\Handler\FormHandler'
factory:
- '@prestashop.core.form.identifiable_object.handler.form_handler_factory'
- 'create'
arguments:
- '@websmid.customhtml.form.customhtml_data_handler'