mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
less configuration a priory
This commit is contained in:
@@ -1,24 +1,20 @@
|
||||
framework:
|
||||
templating: { engines: ['twig'] }
|
||||
|
||||
cmf_menu:
|
||||
persistence:
|
||||
phpcr: ~
|
||||
# persistence is configured through propagation of core-bundle's configuration: https://symfony.com/doc/current/cmf/bundles/core/configuration.html#persistence
|
||||
# So core-bundle, menu-bundle, block-bundle and routing bundle can be configured on their own too. Have a look at:
|
||||
# menu-bundle: https://symfony.com/doc/current/cmf/bundles/menu/configuration.html
|
||||
# block-bundle: https://symfony.com/doc/current/cmf/bundles/block/configuration.html
|
||||
# content-bundle: https://symfony.com/doc/current/cmf/bundles/content/configuration.html
|
||||
# routing-bundle: https://symfony.com/doc/current/cmf/bundles/routing/configuration.html
|
||||
# for their specific configuration
|
||||
|
||||
cmf_routing:
|
||||
chain:
|
||||
routers_by_id:
|
||||
cmf_routing.dynamic_router: 200
|
||||
router.default: 100
|
||||
dynamic:
|
||||
persistence:
|
||||
phpcr:
|
||||
enabled: true
|
||||
routder.default: 100
|
||||
|
||||
cmf_content:
|
||||
cmf_core:
|
||||
# content-bundle, menu-bundle, block-bundle and routing-bundle will get same persistence configduration as core
|
||||
# read about configuration: https://symfony.com/doc/current/cmf/bundles/core/configuration.html
|
||||
persistence:
|
||||
phpcr: ~
|
||||
|
||||
cmf_core:
|
||||
multilang:
|
||||
locales: [en,de]
|
||||
|
||||
Reference in New Issue
Block a user