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