8000 Add missing Twig Form field helpers (#48) · symfony-tools/code-block-checker@5d69529 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5d69529

Browse files
authored
Add missing Twig Form field helpers (#48)
1 parent 7934f6d commit 5d69529

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Twig/DummyExtension.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ public function getFunctions()
7171
new TwigFunction('stimulus_controller'),
7272
new TwigFunction('stimulus_action'),
7373
new TwigFunction('stimulus_target'),
74+
new TwigFunction('field_name'),
75+
new TwigFunction('field_value'),
76+
new TwigFunction('field_label'),
77+
new TwigFunction('field_help'),
78+
new TwigFunction('field_errors'),
79+
new TwigFunction('field_choices'),
7480
];
7581
}
7682

0 commit comments

Comments
 (0)
0