Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 976e6cc

Browse files
author
Roel Sint
committed
Block - add persistence.phpcr.enabled
1 parent b84fb86 commit 976e6cc

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

bundles/block/introduction.rst

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,10 @@ The configuration key for this bundle is ``cmf_block``:
4949
5050
# app/config/config.yml
5151
cmf_block:
52-
manager_name: default
53-
54-
.. code-block:: xml
55-
56-
<!-- app/config/config.xml -->
57-
<?xml version="1.0" encoding="UTF-8" ?>
58-
<container xmlns="http://symfony.com/schema/dic/services"
59-
xmlns:cmf-block="http://cmf.symfony.com/schema/dic/block"
60-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
61-
62-
<cmf-block:config
63-
document-manager-name="default"
64-
/>
65-
</container>
66-
67-
.. code-block:: php
68-
69-
// app/config/config.php
70-
$container->loadFromExtension('cmf_block', array(
71-
'document_manager_name' => 'default',
72-
));
52+
persistence:
53+
phpcr:
54+
enabled: true
55+
manager_name: default
7356
7457
The default settings of a block are defined in the block service. If you use a
7558
3rd party block you might want to alter these for your application. Use the

0 commit comments

Comments
 (0)