@@ -34,21 +34,6 @@ is the following configuration:
34
34
enabled : false
35
35
block_basepath : /cms/content
36
36
manager_name : ~
37
- string_document_class : Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\StringBlock
38
- simple_document_class : Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SimpleBlock
39
- container_document_class : Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ContainerBlock
40
- reference_document_class : Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ReferenceBlock
41
- action_document_class : Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ActionBlock
42
- slideshow_document_class : Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SlideshowBlock
43
- imagine_document_class : Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ImagineBlock
44
- use_sonata_admin : auto
45
- string_admin_class : Symfony\Cmf\Bundle\BlockBundle\Admin\StringBlockAdmin
46
- simple_admin_class : Symfony\Cmf\Bundle\BlockBundle\Admin\SimpleBlockAdmin
47
- container_admin_class : Symfony\Cmf\Bundle\BlockBundle\Admin\ContainerBlockAdmin
48
- reference_admin_class : Symfony\Cmf\Bundle\BlockBundle\Admin\ReferenceBlockAdmin
49
- action_admin_class : Symfony\Cmf\Bundle\BlockBundle\Admin\ActionBlockAdmin
50
- slideshow_admin_class : Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\SlideshowBlockAdmin
51
- imagine_admin_class : Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\ImagineBlockAdmin
52
37
53
38
.. code-block :: xml
54
39
@@ -59,23 +44,8 @@ is the following configuration:
59
44
<persistence >
60
45
<phpcr
61
46
enabled =" false"
62
- manager-name =" null"
63
47
block-basepath =" /cms/content"
64
- string-document-class =" Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\StringBlock"
65
- simple-document-class =" Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SimpleBlock"
66
- container-document-class =" Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ContainerBlock"
67
- reference-document-class =" Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ReferenceBlock"
68
- action-document-class =" Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ActionBlock"
69
- slideshow-document-class =" Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SlideshowBlock"
70
- imagine-document-class =" Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ImagineBlock"
71
- use-sonata-admin =" auto"
72
- string-admin-class =" Symfony\Cmf\Bundle\BlockBundle\Admin\StringBlockAdmin"
73
- simple-admin-class =" Symfony\Cmf\Bundle\BlockBundle\Admin\SimpleBlockAdmin"
74
- container-admin-class =" Symfony\Cmf\Bundle\BlockBundle\Admin\ContainerBlockAdmin"
75
- reference-admin-class =" Symfony\Cmf\Bundle\BlockBundle\Admin\ReferenceBlockAdmin"
76
- action-admin-class =" Symfony\Cmf\Bundle\BlockBundle\Admin\ActionBlockAdmin"
77
- slideshow-admin-class =" Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\SlideshowBlockAdmin"
78
- imagine-admin-class =" Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\ImagineBlockAdmin"
48
+ manager-name =" null"
79
49
/>
80
50
</persistence >
81
51
</config >
@@ -90,21 +60,6 @@ is the following configuration:
90
60
'enabled' => false,
91
61
'block-basepath' => '/cms/content',
92
62
'manager_name' => null,
93
- 'string_document_class' => 'Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\StringBlock',
94
- 'simple_document_class' => 'Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SimpleBlock',
95
- 'container_document_class' => 'Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ContainerBlock',
96
- 'reference_document_class' => 'Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ReferenceBlock',
97
- 'action_document_class' => 'Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ActionBlock',
98
- 'slideshow_document_class' => 'Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SlideshowBlock',
99
- 'imagine_document_class' => 'Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ImagineBlock',
100
- 'use_sonata_admin' => 'auto',
101
- 'string_admin_class' => 'Symfony\Cmf\Bundle\BlockBundle\Admin\StringBlockAdmin',
102
- 'simple_admin_class' => 'Symfony\Cmf\Bundle\BlockBundle\Admin\SimpleBlockAdmin',
103
- 'container_admin_class' => 'Symfony\Cmf\Bundle\BlockBundle\Admin\ContainerBlockAdmin',
104
- 'reference_admin_class' => 'Symfony\Cmf\Bundle\BlockBundle\Admin\ReferenceBlockAdmin',
105
- 'action_admin_class' => 'Symfony\Cmf\Bundle\BlockBundle\Admin\ActionBlockAdmin',
106
- 'slideshow_admin_class' => 'Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\SlideshowBlockAdmin',
107
- 'imagine_admin_class' => 'Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\ImagineBlockAdmin',
108
63
),
109
64
),
110
65
));
@@ -130,123 +85,6 @@ the value of ``%cmf_core.persistence.phpcr.basepath%/content``.
130
85
131
86
.. include :: ../_partials/persistence_phpcr_manager_name.rst.inc
132
87
133
- ``string_document_class ``
134
- """""""""""""""""""""""""
135
-
136
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\StringBlock ``
137
-
138
- The string block document class.
139
-
140
- ``simple_document_class ``
141
- """""""""""""""""""""""""
142
-
143
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SimpleBlock ``
144
-
145
- The simple block document class.
146
-
147
- ``container_document_class ``
148
- """"""""""""""""""""""""""""
149
-
150
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ContainerBlock ``
151
-
152
- The container block document class.
153
-
154
- ``reference_document_class ``
155
- """"""""""""""""""""""""""""
156
-
157
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ReferenceBlock ``
158
-
159
- The reference block document class.
160
-
161
- ``action_document_class ``
162
- """""""""""""""""""""""""
163
-
164
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ActionBlock ``
165
-
166
- The action block document class.
167
-
168
- If phpcr is enabled ``use_sonata_admin `` is enabled, the class value is set in
169
- ``Resources/config/admin.xml ``.
170
-
171
- ``slideshow_document_class ``
172
- """"""""""""""""""""""""""""
173
-
174
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SlideshowBlock ``
175
-
176
- The slideshow block document class.
177
-
178
- ``imagine_document_class ``
179
- """"""""""""""""""""""""""
180
-
181
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ImagineBlock ``
182
-
183
- The imagine block document class. This document will only work properly if
184
- you set up the LiipImagineBundle.
185
-
186
- ``use_sonata_admin ``
187
- """"""""""""""""""""
188
-
189
- **type **: ``enum `` **valid values **: ``true|false|auto `` **default **: ``auto ``
190
-
191
- If ``true ``, the admin classes are activated. If set to ``auto ``, they are
192
- activated only if the SonataPhpcrAdminBundle is present.
193
-
194
- If the :doc: `CoreBundle <../core/introduction >` is registered, this will default to the value
195
- of ``cmf_core.persistence.phpcr.use_sonata_admin ``.
196
-
197
- ``string_admin_class ``
198
- """"""""""""""""""""""
199
-
200
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\StringBlockAdmin ``
201
-
202
- The sonata admin class of the string block.
203
-
204
- ``simple_admin_class ``
205
- """"""""""""""""""""""
206
-
207
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\SimpleBlockAdmin ``
208
-
209
- The sonata admin class of the simple block.
210
-
211
- ``container_admin_class ``
212
- """""""""""""""""""""""""
213
-
214
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\ContainerBlockAdmin ``
215
-
216
- The sonata admin class of the container block.
217
-
218
- ``reference_admin_class ``
219
- """""""""""""""""""""""""
220
-
221
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\ReferenceBlockAdmin ``
222
-
223
- The sonata admin class of the reference block.
224
-
225
- ``action_admin_class ``
226
- """"""""""""""""""""""
227
-
228
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\ActionBlockAdmin ``
229
-
230
- The sonata admin class of the action block.
231
-
232
- ``slideshow_admin_class ``
233
- """""""""""""""""""""""""
234
-
235
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\SlideshowBlockAdmin ``
236
-
237
- The sonata admin class of the slideshow block.
238
-
239
- This admin will only be loaded if ``use_imagine `` is enabled.
240
-
241
- ``imagine_admin_class ``
242
- """""""""""""""""""""""
243
-
244
- **type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\ImagineBlockAdmin ``
245
-
246
- The sonata admin class of the imagine block.
247
-
248
- This admin will only be loaded if ``use_imagine `` is enabled.
249
-
250
88
``twig ``
251
89
~~~~~~~~
252
90
@@ -275,14 +113,6 @@ The part before the actual path to the block.
275
113
276
114
The part after the actual path to the block.
277
115
278
- ``use_imagine ``
279
- ~~~~~~~~~~~~~~~
280
-
281
- **type **: ``enum `` **valid values **: ``true|false|auto `` **default **: ``auto ``
282
-
283
- If ``true ``, the imagine related block classes and admin classes are activated.
284
- If set to ``auto ``, they are activated only if the LiipImagineBundle is present.
285
-
286
116
``caches ``
287
117
~~~~~~~~~~
288
118
0 commit comments