feat(main): Initial Module
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user