@@ -41,7 +41,7 @@ sonata bundles in addition to the CmfBlockBundle::
4141 // ...
4242 }
4343
44- .. _ bundle -block-configuration :
44+ .. _ bundles -block-configuration :
4545
4646Usage
4747-----
@@ -151,7 +151,7 @@ specific settings for one of the block classes.
151151 :ref: `Block Sonata Admin Extension <bundles-block-types-admin_extension >`
152152 that adds editing of the ``BaseBlock `` general block options.
153153
154- .. _ bundle -block-updated-sonata-defaults :
154+ .. _ bundles -block-updated-sonata-defaults :
155155
156156Updated SonataBlockBundle Defaults
157157~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -165,15 +165,15 @@ updated:
165165 a ``div `` and slugifies the PHPCR path as id; The base template is
166166 kept compatible with the Sonata base template for non-cmf blocks;
167167* **RssBlock configuration ** adds the
168- :ref: `default RssBlock settings <bundle -block-rss-settings >`.
168+ :ref: `default RssBlock settings <bundles -block-rss-settings >`.
169169
170170.. note ::
171171
172172 Settings are only prepended, meaning the default value is changed. You can
173173 still change the values by setting the configuration values in your
174174 application configuration file.
175175
176- .. _ bundle -block-document :
176+ .. _ bundles -block-document :
177177
178178Block Document
179179--------------
@@ -201,7 +201,7 @@ the block. The other properties (title and body) are specific to the
201201``Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SimpleBlock ``.
202202
203203The simple block is now ready to be rendered, see
204- :ref: `bundle -block-rendering `.
204+ :ref: `bundles -block-rendering `.
205205
206206.. note ::
207207
@@ -217,7 +217,7 @@ render the block. It aggregates and merges all settings from configuration,
217217the block service, the block document and settings passed to the Twig template
218218helper. Therefore, use the BlockContext to get or alter a setting if needed.
219219
220- .. _ bundle -block-service :
220+ .. _ bundles -block-service :
221221
222222Block Service
223223-------------
@@ -230,7 +230,7 @@ When using the provided blocks, you do not need to worry about the block
230230service. It is only relevant when
231231:doc: `creating your own blocks <create_your_own_blocks >`.
232232
233- .. _ bundle -block-rendering :
233+ .. _ bundles -block-rendering :
234234
235235Block rendering
236236---------------
@@ -239,7 +239,7 @@ Rendering is handled by the SonataBlockBundle ``sonata_block_render`` Twig
239239function. The block name is either an absolute PHPCR path or the name of the
240240block relative to the ``cmfMainContent `` document.
241241
242- To render the example from the :ref: `bundle -block-document ` section, just add
242+ To render the example from the :ref: `bundles -block-document ` section, just add
243243the following code to your Twig template:
244244
245245.. configuration-block ::
@@ -271,7 +271,7 @@ block as follows:
271271 )) ?>
272272
273273This will make the BlockBundle render the specified block if the main content
274- (as per the :ref: `routing <bundle -routing-dynamic-match >`) maps a field named
274+ (as per the :ref: `routing <bundles -routing-dynamic-match >`) maps a field named
275275``sidebarBlock ``. If different main contents are rendered using different
276276templates, make sure all that should support this block actually include the
277277snippet above.
@@ -289,7 +289,7 @@ receives the block object (equivalent to a Request object) and a ``Response``
289289object. The purpose of the ``execute `` method to set the content of the
290290response object - typically by rendering a Twig template.
291291
292- .. _ bundle -block-embed :
292+ .. _ bundles -block-embed :
293293
294294Embedding Blocks in WYSIWYG Content
295295~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments