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

Commit 5ee44d6

Browse files
committed
Improve filelocations based on comments from #615
1 parent b19fcc9 commit 5ee44d6

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

bundles/menu/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ To disable the menu content voter, use:
348348
349349
.. code-block:: xml
350350
351-
<!-- app/config/config.yml -->
351+
<!-- app/config/config.xml -->
352352
<?xml version="1.0" charset="UTF-8" ?>
353353
<container xmlns="http://symfony.com/schema/dic/services">
354354
@@ -361,7 +361,7 @@ To disable the menu content voter, use:
361361
362362
.. code-block:: php
363363
364-
// app/config/config.yml
364+
// app/config/config.php
365365
$container->loadFromExtension('cmf_core', array(
366366
'publish_workflow' => array(
367367
'enabled' => false,

bundles/menu/menu_factory.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Example Menu Listener
105105
This listener handles menu nodes that point to a different menu by implementing
106106
the ``MenuReferrerInterface``::
107107

108-
// TODO
108+
// src/Acme/DemoBundle/MenuReferrerInterface.php
109109
namespace Acme\DemoBundle;
110110

111111
interface MenuReferrerInterface
@@ -157,7 +157,7 @@ The service needs to be tagged as event listener:
157157

158158
.. code-block:: yaml
159159
160-
# src/COMPANY/BUNDLE/Resources/config/services.yml
160+
# src/Acme/DemoBundle/Resources/config/services.yml
161161
services:
162162
acme_demo.listener.menu_referrer_listener:
163163
class: Acme\DemoBundle\EventListener\CreateMenuItemFromNodeListener
@@ -171,7 +171,7 @@ The service needs to be tagged as event listener:
171171
172172
.. code-block:: xml
173173
174-
<!-- src/COMPANY/BUNDLE/Resources/config/services.xml -->
174+
<!-- src/Acme/DemoBundle/Resources/config/services.xml -->
175175
<?xml version="1.0" encoding="UTF-8" ?>
176176
<container xmlns="http://symfony.com/schema/dic/services">
177177
<service id="acme_demo.listener.menu_referrer_listener" class="Acme\DemoBundle\EventListener\CreateMenuItemFromNodeListener">
@@ -185,7 +185,7 @@ The service needs to be tagged as event listener:
185185
186186
.. code-block:: php
187187
188-
// src/COMPANY/BUNDLE/Resources/config/services.php
188+
// src/Acme/DemoBundle/Resources/config/services.php
189189
use Symfony\Component\DependencyInjection\Definition;
190190
use Symfony\Component\DependencyInjection\Reference;
191191

bundles/menu/voters.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,14 @@ configuration.
146146

147147
.. code-block:: yaml
148148
149-
# TODO
149+
# app/config/config.yml
150150
cmf_menu:
151151
voters:
152152
uri-prefix: ~
153153
154154
.. code-block:: xml
155155
156-
# TODO
156+
<!-- app/config/config.xml -->
157157
<?xml version="1.0" encoding="UTF-8" ?>
158158
<container xmlns="http://symfony.com/schema/dic/services">
159159
<config xmlns="http://cmf.symfony.com/schema/dic/menu">
@@ -165,7 +165,7 @@ configuration.
165165
166166
.. code-block:: php
167167
168-
# TODO
168+
// app/config/config.php
169169
$container->loadFromExtension('cmf_menu', array(
170170
'voters' => array(
171171
'uri_prefix' => null

0 commit comments

Comments
 (0)