@@ -15,11 +15,11 @@ Configuration
15
15
16
16
.. _reference-config-block-persistence :
17
17
18
- persistence
19
- ~~~~~~~~~~~
18
+ `` persistence ``
19
+ ~~~~~~~~~~~~~~~
20
20
21
- phpcr
22
- .....
21
+ `` phpcr ``
22
+ .........
23
23
24
24
This defines the persistence driver. The default configuration of persistence
25
25
is the following configuration:
@@ -110,13 +110,13 @@ is the following configuration:
110
110
));
111
111
112
112
113
- enabled
114
- """""""
113
+ `` enabled ``
114
+ """""""""""
115
115
116
116
.. include :: ../_partials/persistence_phpcr_enabled.rst.inc
117
117
118
- block_basepath
119
- """"""""""""""
118
+ `` block_basepath ``
119
+ """"""""""""""""""
120
120
121
121
**type **: ``string `` **default **: ``/cms/content ``
122
122
@@ -125,41 +125,41 @@ The basepath for blocks in the PHPCR tree.
125
125
If the :doc: `CoreBundle <../core/introduction >` is registered, this will default to
126
126
the value of ``%cmf_core.persistence.phpcr.basepath%/content ``.
127
127
128
- manager_name
129
- """"""""""""
128
+ `` manager_name ``
129
+ """"""""""""""""
130
130
131
131
.. include :: ../_partials/persistence_phpcr_manager_name.rst.inc
132
132
133
- string_document_class
134
- """""""""""""""""""""
133
+ `` string_document_class ``
134
+ """""""""""""""""""""""""
135
135
136
136
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\StringBlock ``
137
137
138
138
The string block document class.
139
139
140
- simple_document_class
141
- """""""""""""""""""""
140
+ `` simple_document_class ``
141
+ """""""""""""""""""""""""
142
142
143
143
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SimpleBlock ``
144
144
145
145
The simple block document class.
146
146
147
- container_document_class
148
- """"""""""""""""""""""""
147
+ `` container_document_class ``
148
+ """"""""""""""""""""""""""""
149
149
150
150
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ContainerBlock ``
151
151
152
152
The container block document class.
153
153
154
- reference_document_class
155
- """"""""""""""""""""""""
154
+ `` reference_document_class ``
155
+ """"""""""""""""""""""""""""
156
156
157
157
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ReferenceBlock ``
158
158
159
159
The reference block document class.
160
160
161
- action_document_class
162
- """""""""""""""""""""
161
+ `` action_document_class ``
162
+ """""""""""""""""""""""""
163
163
164
164
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ActionBlock ``
165
165
@@ -168,23 +168,23 @@ The action block document class.
168
168
If phpcr is enabled ``use_sonata_admin `` is enabled, the class value is set in
169
169
``Resources/config/admin.xml ``.
170
170
171
- slideshow_document_class
172
- """"""""""""""""""""""""
171
+ `` slideshow_document_class ``
172
+ """"""""""""""""""""""""""""
173
173
174
174
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SlideshowBlock ``
175
175
176
176
The slideshow block document class.
177
177
178
- imagine_document_class
179
- """"""""""""""""""""""
178
+ `` imagine_document_class ``
179
+ """"""""""""""""""""""""""
180
180
181
181
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ImagineBlock ``
182
182
183
183
The imagine block document class. This document will only work properly if
184
184
you set up the LiipImagineBundle.
185
185
186
- use_sonata_admin
187
- """"""""""""""""
186
+ `` use_sonata_admin ``
187
+ """"""""""""""""""""
188
188
189
189
**type **: ``enum `` **valid values **: ``true|false|auto `` **default **: ``auto ``
190
190
@@ -194,105 +194,105 @@ activated only if the SonataPhpcrAdminBundle is present.
194
194
If the :doc: `CoreBundle <../core/introduction >` is registered, this will default to the value
195
195
of ``cmf_core.persistence.phpcr.use_sonata_admin ``.
196
196
197
- string_admin_class
198
- """"""""""""""""""
197
+ `` string_admin_class ``
198
+ """"""""""""""""""""""
199
199
200
200
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\StringBlockAdmin ``
201
201
202
202
The sonata admin class of the string block.
203
203
204
- simple_admin_class
205
- """"""""""""""""""
204
+ `` simple_admin_class ``
205
+ """"""""""""""""""""""
206
206
207
207
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\SimpleBlockAdmin ``
208
208
209
209
The sonata admin class of the simple block.
210
210
211
- container_admin_class
212
- """""""""""""""""""""
211
+ `` container_admin_class ``
212
+ """""""""""""""""""""""""
213
213
214
214
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\ContainerBlockAdmin ``
215
215
216
216
The sonata admin class of the container block.
217
217
218
- reference_admin_class
219
- """""""""""""""""""""
218
+ `` reference_admin_class ``
219
+ """""""""""""""""""""""""
220
220
221
221
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\ReferenceBlockAdmin ``
222
222
223
223
The sonata admin class of the reference block.
224
224
225
- action_admin_class
226
- """"""""""""""""""
225
+ `` action_admin_class ``
226
+ """"""""""""""""""""""
227
227
228
228
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\ActionBlockAdmin ``
229
229
230
230
The sonata admin class of the action block.
231
231
232
- slideshow_admin_class
233
- """""""""""""""""""""
232
+ `` slideshow_admin_class ``
233
+ """""""""""""""""""""""""
234
234
235
235
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\SlideshowBlockAdmin ``
236
236
237
237
The sonata admin class of the slideshow block.
238
238
239
239
This admin will only be loaded if ``use_imagine `` is enabled.
240
240
241
- imagine_admin_class
242
- """""""""""""""""""
241
+ `` imagine_admin_class ``
242
+ """""""""""""""""""""""
243
243
244
244
**type **: ``string `` **default **: ``Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\ImagineBlockAdmin ``
245
245
246
246
The sonata admin class of the imagine block.
247
247
248
248
This admin will only be loaded if ``use_imagine `` is enabled.
249
249
250
- Twig
251
- ~~~~
250
+ `` twig ``
251
+ ~~~~~~~~
252
252
253
253
.. _reference-config-block-twig-cmf-embed-blocks :
254
254
255
- cmf_embed_blocks
256
- ................
255
+ `` cmf_embed_blocks ``
256
+ ....................
257
257
258
258
The BlockBundle provides a Twig filter ``cmf_embed_blocks `` that
259
259
looks through the content and looks for special tags to render blocks.
260
260
261
261
See :ref: `embed blocks in content <bundle-block-embed >` for using the
262
262
``cmf_embed_blocks `` filter.
263
263
264
- prefix
265
- """"""
264
+ `` prefix ``
265
+ """"""""""
266
266
267
267
**type **: ``string `` **default **: ``%embed-block| ``
268
268
269
269
The part before the actual path to the block.
270
270
271
- postfix
272
- """""""
271
+ `` postfix ``
272
+ """""""""""
273
273
274
274
**type **: ``string `` **default **: ``|end% ``
275
275
276
276
The part after the actual path to the block.
277
277
278
- use_imagine
279
- ~~~~~~~~~~~
278
+ `` use_imagine ``
279
+ ~~~~~~~~~~~~~~~
280
280
281
281
**type **: ``enum `` **valid values **: ``true|false|auto `` **default **: ``auto ``
282
282
283
283
If ``true ``, the imagine related block classes and admin classes are activated.
284
284
If set to ``auto ``, they are activated only if the LiipImagineBundle is present.
285
285
286
- caches
287
- ~~~~~~
286
+ `` caches ``
287
+ ~~~~~~~~~~
288
288
289
289
The BlockBundle integrates with the `SonataCacheBundle `_ to provide several
290
290
caching solutions.
291
291
292
292
.. _reference-config-block-caches-esi :
293
293
294
- varnish
295
- .......
294
+ `` varnish ``
295
+ ...........
296
296
297
297
This extends the default VarnishCache adapter of the SonataCacheBundle.
298
298
@@ -349,22 +349,22 @@ This extends the default VarnishCache adapter of the SonataCacheBundle.
349
349
),
350
350
));
351
351
352
- token
353
- """""
352
+ `` token ``
353
+ """""""""
354
354
355
355
**type **: ``string `` **default **: ``hash('sha256', uniqid(mt_rand(), true)) ``
356
356
357
357
A unique secret key. A random one is generated by default.
358
358
359
- servers
360
- """""""
359
+ `` servers ``
360
+ """""""""""
361
361
362
362
**type **: ``array ``
363
363
364
364
.. _reference-config-block-caches-ssi :
365
365
366
- ssi
367
- ...
366
+ `` ssi ``
367
+ .......
368
368
369
369
This extends the default SsiCache adapter of the SonataCacheBundle.
370
370
@@ -408,8 +408,8 @@ This extends the default SsiCache adapter of the SonataCacheBundle.
408
408
),
409
409
));
410
410
411
- token
412
- """""
411
+ `` token ``
412
+ """""""""
413
413
414
414
**type **: ``string `` **default **: ``hash('sha256', uniqid(mt_rand(), true)) ``
415
415
0 commit comments