@@ -41,33 +41,29 @@ select the menu node target.
41
41
xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
42
42
43
43
<config xmlns =" http://cmf.symfony.com/schema/dic/menu" >
44
- <dynamic >
45
- <persistence >
46
- <!-- use-sonata-admin: use true/false to force using / not using sonata admin -->
47
- <!-- content-basepath: used with Sonata Admin to manage content;
48
- defaults to %cmf_core.basepath%/content -->
49
- <phpcr
50
- use-sonata-admin =" auto"
51
- content-basepath =" null"
52
- />
53
- </persistence >
54
- </dynamic >
44
+ <persistence >
45
+ <!-- use-sonata-admin: use true/false to force using / not using sonata admin -->
46
+ <!-- content-basepath: used with Sonata Admin to manage content;
47
+ defaults to %cmf_core.basepath%/content -->
48
+ <phpcr
49
+ use-sonata-admin =" auto"
50
+ content-basepath =" null"
51
+ />
52
+ </persistence >
55
53
</config >
56
54
</container >
57
55
58
56
.. code-block :: php
59
57
60
58
// app/config/config.php
61
59
$container->loadFromExtension('cmf_menu', array(
62
- 'dynamic' => array(
63
- 'persistence' => array(
64
- 'phpcr' => array(
65
- // use true/false to force using / not using sonata admin
66
- 'use_sonata_admin' => 'auto',
67
-
68
- // used with Sonata Admin to manage content; defaults to %cmf_core.basepath%/content
69
- 'content_basepath' => null,
70
- ),
60
+ 'persistence' => array(
61
+ 'phpcr' => array(
62
+ // use true/false to force using / not using sonata admin
63
+ 'use_sonata_admin' => 'auto',
64
+
65
+ // used with Sonata Admin to manage content; defaults to %cmf_core.basepath%/content
66
+ 'content_basepath' => null,
71
67
),
72
68
),
73
69
));
0 commit comments