Skip to content

Commit 6af2f78

Browse files
committed
[#2252] Backporting some changes from 2.1 thanks to @johnkary
1 parent 7d7696e commit 6af2f78

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cookbook/bundles/extension.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ as integration of other related components:
2121
2222
framework:
2323
# ...
24-
form: true
24+
form: true
2525
2626
.. code-block:: xml
2727
@@ -33,7 +33,7 @@ as integration of other related components:
3333
3434
$container->loadFromExtension('framework', array(
3535
// ...
36-
'form' => true,
36+
'form' => true,
3737
// ...
3838
));
3939
@@ -498,9 +498,9 @@ When creating an extension, follow these simple conventions:
498498
* The extension should provide an XSD schema.
499499

500500
If you follow these simple conventions, your extensions will be registered
501-
automatically by Symfony2. If not, override the Bundle
502-
:method:`Symfony\\Component\\HttpKernel\\Bundle\\Bundle::build` method in
503-
your bundle::
501+
automatically by Symfony2. If not, override the
502+
:method:`Bundle::build() <Symfony\\Component\\HttpKernel\\Bundle\\Bundle::build>`
503+
method in your bundle::
504504

505505
// ...
506506
use Acme\HelloBundle\DependencyInjection\UnconventionalExtensionClass;

0 commit comments

Comments
 (0)