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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy