Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bundles/content.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ The configuration key for this bundle is ``symfony_cmf_content``
content_basepath: /cms/content
static_basepath: /cms/content/static
use_sonata_admin: auto
multilang:
multilang: # the whole multilang section is optionnal
admin_class: ~
document_class: ~
use_sonata_admin: auto
locales: []
locales: [] # if you use multilang, you have to define at least one locale
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think we should say that the whole multilang section is optional (next to the multilang key), but if it is present locales must be set.

4 changes: 2 additions & 2 deletions bundles/menu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ The values are:
route_name: ~ # cmf routes are created by content instead of name
content_basepath: ~ # defaults to symfony_cmf_core.content_basepath
use_sonata_admin: auto # use true/false to force using / not using sonata admin
multilang:
multilang: # the whole multilang section is optionnal
use_sonata_admin: auto # use true/false to force using / not using sonata admin
admin_class: ~
document_class: ~
locales: []
locales: [] # if you use multilang, you have to define at least one locale

If you want to render the menu from twig, make sure you have not disabled twig
in the ``knp_menu`` configuration section.
Expand Down