8000 minor #10158 Add note about configuration root node (mickadoo) · symfony/symfony-docs@f9e279b · GitHub
[go: up one dir, main page]

Skip to content

Commit f9e279b

Browse files
committed
minor #10158 Add note about configuration root node (mickadoo)
This PR was submitted for the master branch but it was merged into the 2.8 branch instead (closes #10158). Discussion ---------- Add note about configuration root node Adds a note on an issue I ran into myself, as well as a good few other people based on [this SO answer](https://stackoverflow.com/a/35505189/1196369) This is my first contribution to symfony-docs, I copied another `tip::` block so hopefully the result should be the same, but I haven't tested this locally. Commits ------- 33e8fd2 Add note about configuration root node
2 parents 8dcbaa5 + 33e8fd2 commit f9e279b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bundles/configuration.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ bundle configuration would look like:
102102
'client_secret' => 'your_secret',
103103
));
104104
105+
106+
.. tip::
107+
108+
The root node of your bundle configuration must match the name of your
109+
bundle without the 'Bundle' suffix in camel case. For example
110+
``AcmeSocialBundle`` becomes ``acme_social``.
111+
105112
.. seealso::
106113

107114
Read more about the extension in :doc:`/bundles/extension`.

0 commit comments

Comments
 (0)
0