[sulu/formbundle] Adding support for version 3 (#1941)

This commit is contained in:
mamazu
2026-02-10 18:32:14 +01:00
committed by GitHub
parent b67c22056e
commit f8a90ef534
4 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
sulu_form:
# csrf_protection: true # requires additional changes see: https://github.com/sulu/SuluFormBundle/blob/3.0/Resources/doc/csrf.md
mail:
from: "%env(SULU_ADMIN_EMAIL)%"
to: "%env(SULU_ADMIN_EMAIL)%"
sender: "%env(SULU_ADMIN_EMAIL)%"
media:
protected: true

View File

@@ -0,0 +1,3 @@
sulu_form_api:
resource: "@SuluFormBundle/Resources/config/routing_api.yaml"
prefix: /admin/api

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"Sulu\\Bundle\\FormBundle\\SuluFormBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,7 @@
* The <fg=green>SuluFormBundle</> is almost ready:
1. Print the sql statements required to update your database schema by running <info>php bin/console doctrine:schema:update --dump-sql</>.
2. If the statements look fine to you, run the same command using <info>--force</> to execute them.
3. Make sure your user has all the necessary permissions for the <fg=green>SuluFormBundle</>.
4. Use <info>bin/console sulu:form:generate-form</info> to create a dummy form.
* <fg=blue>Read</> the documentation at <comment>https://github.com/sulu/SuluFormBundle/blob/3.0/Resources/doc/index.md</>