@@ -13,8 +13,8 @@ Configuration
1313
1414**type **: ``string `` **default **: ``null ``
1515
16- This defines the template to use when rendering the content if none is
17- specified in the route . ``{_format} `` and ``{_locale} `` are replaced with the
16+ This defines the template to use when rendering the content if the routing does
17+ not specify the template . ``{_format} `` and ``{_locale} `` are replaced with the
1818request format and the current locale.
1919
2020.. _config-content-persistence :
@@ -25,7 +25,6 @@ request format and the current locale.
2525This defines the persistence driver. The default configuration of persistence
2626is the following configuration:
2727
28-
2928.. configuration-block ::
3029
3130 .. code-block :: yaml
@@ -35,10 +34,8 @@ is the following configuration:
3534 persistence :
3635 phpcr :
3736 enabled : false
38- admin_class : ~
39- document_class : ~
4037 content_basepath : /cms/content
41- use_sonata_admin : auto
38+ manager_name : null
4239
4340 .. code-block :: xml
4441
@@ -50,10 +47,8 @@ is the following configuration:
5047 <persistence >
5148 <phpcr
5249 enabled =" false"
53- admin_class =" null"
54- document-class =" null"
5550 content-basepath =" /cms/content"
56- use-sonata-admin = " auto "
51+ manager-name = " null "
5752 />
5853 </persistence >
5954 </config >
@@ -67,10 +62,8 @@ is the following configuration:
6762 'persistence' => [
6863 'phpcr' => [
6964 'enabled' => false,
70- 'admin_class' => null,
71- 'document_class' => null,
7265 'content_basepath' => '/cms/content',
73- 'use_sonata_admin' => 'auto' ,
66+ 'manager_name' => null ,
7467 ],
7568 ],
7669 ]);
@@ -80,37 +73,17 @@ is the following configuration:
8073
8174.. include :: ../_partials/persistence_phpcr_enabled.rst.inc
8275
83- ``admin_class ``
84- ...............
85-
86- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\ContentBundle\Admin\StaticContentAdmin ``
87-
88- The admin class to use when :ref: `Sonata Admin is activated <quick-tour-third-party-sonata >`.
89-
90- ``document_class ``
91- ..................
92-
93- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent ``
94-
95- The Content class to use.
96-
9776``content_basepath ``
9877....................
9978
10079**type **: ``string `` **default **: ``/cms/content ``
10180
102- The basepath for Content documents in the PHPCR tree.
103-
104- ``use_sonata_admin ``
105- ....................
81+ The basepath for content documents in the PHPCR tree.
10682
107- **type **: ``enum `` **valid values **: ``true|false|auto `` **default **: ``auto ``
83+ ``manager_name ``
84+ ................
10885
109- If ``true ``, the admin classes for SimpleCmsBundle pages are activated. If set
110- to ``auto ``, the admin services are activated only if the
111- SonataPhpcrAdminBundle is present.
112-
113- If the :doc: `CoreBundle <../core/introduction >` is registered, this will
114- default to the value of ``cmf_core.persistence.phpcr.use_sonata_admin ``.
86+ **type **: ``string `` **default **: ``null ``
11587
116- .. include :: ../_partials/ivory_ckeditor.rst.inc
88+ The document manager that holds StaticContent documents. If not set, the
89+ default manager is used.
0 commit comments