wip: finalize implementation

This commit is contained in:
Björn Fromme
2025-10-18 12:11:24 +02:00
parent 49b5ccf308
commit b5dfe17b73
6 changed files with 28 additions and 3 deletions
+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']]),
];
}
}