From 33b6ff24616453bf46aa39bcf9d127f67453a104 Mon Sep 17 00:00:00 2001 From: Richard Miller Date: Mon, 17 Sep 2012 22:08:19 +0100 Subject: [PATCH] Adding link to the config component docs from extension cookbook --- cookbook/bundles/extension.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cookbook/bundles/extension.rst b/cookbook/bundles/extension.rst index 8354120de9b..81a38ee7d6a 100644 --- a/cookbook/bundles/extension.rst +++ b/cookbook/bundles/extension.rst @@ -18,19 +18,19 @@ as integration of other related components: .. configuration-block:: .. code-block:: yaml - + framework: # ... form: true .. code-block:: xml - + .. code-block:: php - + $container->loadFromExtension('framework', array( // ... 'form' => true, @@ -306,7 +306,7 @@ option is passed and set to true:: // ... prepare your $config variable $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); - + if (isset($config['enabled']) && $config['enabled']) { $loader->load('services.xml'); } @@ -477,9 +477,9 @@ configuration arrays together. The ``Configuration`` class can be much more complicated than shown here, supporting array nodes, "prototype" nodes, advanced validation, XML-specific -normalization and advanced merging. The best way to see this in action is -to checkout out some of the core Configuration classes, such as the one from -the `FrameworkBundle Configuration`_ or the `TwigBundle Configuration`_. +normalization and advanced merging. You can read more about this in :doc:`the Config Component documentation`. +You can also see it action by checking out some of the core Configuration classes, +such as the one from the `FrameworkBundle Configuration`_ or the `TwigBundle Configuration`_. .. index:: pair: Convention; Configuration