mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
[sulu/formbundle] Adding support for version 3 (#1941)
This commit is contained in:
8
sulu/form-bundle/3.0/config/packages/sulu_form.yaml
Normal file
8
sulu/form-bundle/3.0/config/packages/sulu_form.yaml
Normal 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
|
||||
3
sulu/form-bundle/3.0/config/routes/sulu_form_admin.yaml
Normal file
3
sulu/form-bundle/3.0/config/routes/sulu_form_admin.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
sulu_form_api:
|
||||
resource: "@SuluFormBundle/Resources/config/routing_api.yaml"
|
||||
prefix: /admin/api
|
||||
8
sulu/form-bundle/3.0/manifest.json
Normal file
8
sulu/form-bundle/3.0/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Sulu\\Bundle\\FormBundle\\SuluFormBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
7
sulu/form-bundle/3.0/post-install.txt
Normal file
7
sulu/form-bundle/3.0/post-install.txt
Normal 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</>
|
||||
Reference in New Issue
Block a user