8000 minor #28402 [TwigBundle] Using Twig template name syntax in form_the… · symfony/symfony@7bbe78b · GitHub
[go: up one dir, main page]

Skip to content

Commit 7bbe78b

Browse files
committed
minor #28402 [TwigBundle] Using Twig template name syntax in form_theme example (yceruto)
This PR was merged into the 4.2-dev branch. Discussion ---------- [TwigBundle] Using Twig template name syntax in form_theme example | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Minor tweak to remove the `symfony/templating` syntax. Commits ------- ce653f2 Using Twig template name syntax in form_theme example
2 parents cd39b51 + ce653f2 commit 7bbe78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private function addFormThemesSection(ArrayNodeDefinition $rootNode)
5454
->arrayNode('form_themes')
5555
->addDefaultChildrenIfNoneSet()
5656
->prototype('scalar')->defaultValue('form_div_layout.html.twig')->end()
57-
->example(array('MyBundle::form.html.twig'))
57+
->example(array('@My/form.html.twig'))
5858
->validate()
5959
->ifTrue(function ($v) { return !\in_array('form_div_layout.html.twig', $v); })
6060
->then(function ($v) {

0 commit comments

Comments
 (0)
0