Skip to content

Commit f0e7b26

Browse files
committed
Merge pull request #1723 from richardmiller/adding_link_to_config
Adding link to the config component docs from extension cookbook
2 parents 4afd538 + 33b6ff2 commit f0e7b26

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cookbook/bundles/extension.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ as integration of other related components:
1818
.. configuration-block::
1919

2020
.. code-block:: yaml
21-
21+
2222
framework:
2323
# ...
2424
form: true
2525
2626
.. code-block:: xml
27-
27+
2828
<framework:config>
2929
<framework:form />
3030
</framework:config>
3131
3232
.. code-block:: php
33-
33+
3434
$container->loadFromExtension('framework', array(
3535
// ...
3636
'form' => true,
@@ -306,7 +306,7 @@ option is passed and set to true::
306306
// ... prepare your $config variable
307307

308308
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
309-
309+
310310
if (isset($config['enabled']) && $config['enabled']) {
311311
$loader->load('services.xml');
312312
}
@@ -477,9 +477,9 @@ configuration arrays together.
477477

478478
The ``Configuration`` class can be much more complicated than shown here,
479479
supporting array nodes, "prototype" nodes, advanced validation, XML-specific
480-
normalization and advanced merging. The best way to see this in action is
481-
to checkout out some of the core Configuration classes, such as the one from
482-
the `FrameworkBundle Configuration`_ or the `TwigBundle Configuration`_.
480+
normalization and advanced merging. You can read more about this in :doc:`the Config Component documentation</components/config/definition>`.
481+
You can also see it action by checking out some of the core Configuration classes,
482+
such as the one from the `FrameworkBundle Configuration`_ or the `TwigBundle Configuration`_.
483483

484484
.. index::
485485
pair: Convention; Configuration

0 commit comments

Comments
 (0)