34 lines
1.3 KiB
YAML
34 lines
1.3 KiB
YAML
services:
|
|
_defaults:
|
|
public: true
|
|
autowire: true
|
|
autoconfigure: true
|
|
|
|
# Form Type
|
|
prestashop.module.gdprcookieconsent.form.type.gdpr_configuration:
|
|
class: 'PrestaShop\Module\GdprCookieConsent\Form\GdprConfigurationFormType'
|
|
parent: 'form.type.translatable.aware'
|
|
public: true
|
|
tags:
|
|
- { name: form.type }
|
|
|
|
# Data Configuration
|
|
prestashop.module.gdprcookieconsent.form.gdpr_configuration_data_configuration:
|
|
class: PrestaShop\Module\GdprCookieConsent\Form\GdprConfigurationDataConfiguration
|
|
arguments: ['@prestashop.adapter.legacy.configuration']
|
|
|
|
# Form Data Provider
|
|
prestashop.module.gdprcookieconsent.form.gdpr_configuration_form_data_provider:
|
|
class: 'PrestaShop\Module\GdprCookieConsent\Form\GdprConfigurationFormDataProvider'
|
|
arguments:
|
|
- '@prestashop.module.gdprcookieconsent.form.gdpr_configuration_data_configuration'
|
|
|
|
# Form Handler
|
|
prestashop.module.gdprcookieconsent.form.gdpr_configuration_form_data_handler:
|
|
class: 'PrestaShop\PrestaShop\Core\Form\Handler'
|
|
arguments:
|
|
- '@form.factory'
|
|
- '@prestashop.core.hook.dispatcher'
|
|
- '@prestashop.module.gdprcookieconsent.form.gdpr_configuration_form_data_provider'
|
|
- 'PrestaShop\Module\GdprCookieConsent\Form\GdprConfigurationFormType'
|
|
- 'Configuration' |