wip: finalize implementation

This commit is contained in:
Björn Fromme committed 2025-10-18 12:11:24 +02:00
1 parent 49b5ccf308
commit b5dfe17b73
6 files changed
+28 -3

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ class AppExtension extends AbstractExtension
return [
new TwigFunction('icon', [AppRuntime::class, 'renderIcon'], ['needs_environment' => true, 'is_safe' => ['html']]),
new TwigFunction('is_participant_eligible', [AppRuntime::class, 'isParticipantEligible']),
new TwigFunction('qa_attribute', [AppRuntime::class, 'renderQaAttribute'], ['is_safe' => ['html']]),
];
}
}