craue / CraueConfigBundle

Database-stored settings made available via a service for your Symfony project.
MIT License
173 stars 35 forks source link

Using a custom form schema #46

Open yvoloshin opened 6 years ago

yvoloshin commented 6 years ago

Hello, I'm looking for a bit of help integrating a custom form schema. I'm trying to switch over from SyliusSettingsBundle to CraueConfigBundle because Sylius doesn't support Symfony4. The settings fields need to be displayed in a custom form that was integrated with the Sylius bundle using a service tag in services.yml, like this:

emails_settings_schema:
    class: AppBundle\Settings\EmailsSettingsSchema
    tags:
     - { name: "sylius.settings_schema", namespace: "emails" }

The schema was integrated using the findTaggedServices function in the bundle. Could you tell me how I can integrate this schema using CraueConfigBundle?