Skip to content

Commit f8a90ef

Browse files
authored
[sulu/formbundle] Adding support for version 3 (#1941)
1 parent b67c220 commit f8a90ef

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
sulu_form:
2+
# csrf_protection: true # requires additional changes see: https://github.com/sulu/SuluFormBundle/blob/3.0/Resources/doc/csrf.md
3+
mail:
4+
from: "%env(SULU_ADMIN_EMAIL)%"
5+
to: "%env(SULU_ADMIN_EMAIL)%"
6+
sender: "%env(SULU_ADMIN_EMAIL)%"
7+
media:
8+
protected: true
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sulu_form_api:
2+
resource: "@SuluFormBundle/Resources/config/routing_api.yaml"
3+
prefix: /admin/api

sulu/form-bundle/3.0/manifest.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"Sulu\\Bundle\\FormBundle\\SuluFormBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
}
8+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* The <fg=green>SuluFormBundle</> is almost ready:
2+
1. Print the sql statements required to update your database schema by running <info>php bin/console doctrine:schema:update --dump-sql</>.
3+
2. If the statements look fine to you, run the same command using <info>--force</> to execute them.
4+
3. Make sure your user has all the necessary permissions for the <fg=green>SuluFormBundle</>.
5+
4. Use <info>bin/console sulu:form:generate-form</info> to create a dummy form.
6+
7+
* <fg=blue>Read</> the documentation at <comment>https://github.com/sulu/SuluFormBundle/blob/3.0/Resources/doc/index.md</>

0 commit comments

Comments
 (0)