Merge pull request #327

This commit is contained in:
symfony-flex-server[bot]
2018-05-18 11:45:06 +00:00
committed by GitHub
4 changed files with 32 additions and 19 deletions
@@ -0,0 +1,20 @@
# 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
routder.default: 100
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: ~
@@ -0,0 +1,12 @@
{
"bundles": {
"Symfony\\Cmf\\Bundle\\RoutingBundle\\CmfRoutingBundle": ["all"],
"Symfony\\Cmf\\Bundle\\MenuBundle\\CmfMenuBundle": ["all"],
"Symfony\\Cmf\\Bundle\\CoreBundle\\CmfCoreBundle": ["all"],
"Symfony\\Cmf\\Bundle\\ContentBundle\\CmfContentBundle": ["all"],
"Symfony\\Cmf\\Bundle\\BlockBundle\\CmfBlockBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
@@ -1,11 +0,0 @@
# Read the documentation: https://symfony.com/doc/master/cmf/bundles/routing/configuration.html
# Install phpcr stack before using this configuration
#cmf_routing:
# chain:
# routers_by_id:
# cmf_routing.dynamic_router: 200
# router.default: 100
# dynamic:
# persistence:
# phpcr:
# enabled: true
@@ -1,8 +0,0 @@
{
"bundles": {
"Symfony\\Cmf\\Bundle\\RoutingBundle\\CmfRoutingBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}