Skip to content

Commit ff2bd4a

Browse files
committed
Adding 3 Stimulus Twig functions
1 parent 6388a06 commit ff2bd4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Twig/DummyExtension.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public function getFunctions()
6262
new TwigFunction('workflow_transition'),
6363
new TwigFunction('t'),
6464
new TwigFunction('mercure'),
65+
new TwigFunction('stimulus_controller'),
66+
new TwigFunction('stimulus_action'),
67+
new TwigFunction('stimulus_target'),
6568
];
6669
}
6770

0 commit comments

Comments
 (0)