Skip to content

Commit

Permalink
Add missing Twig Form field helpers (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsche authored Apr 14, 2023
1 parent 7934f6d commit 5d69529
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Twig/DummyExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ public function getFunctions()
new TwigFunction('stimulus_controller'),
new TwigFunction('stimulus_action'),
new TwigFunction('stimulus_target'),
new TwigFunction('field_name'),
new TwigFunction('field_value'),
new TwigFunction('field_label'),
new TwigFunction('field_help'),
new TwigFunction('field_errors'),
new TwigFunction('field_choices'),
];
}

Expand Down

0 comments on commit 5d69529

Please sign in to comment.