feat: improved handling of fields to be rendered as static text
This commit is contained in:
1 parent
eee7be0c1e
commit
51dbf20118
8 files changed
+211
-82
No files matched your search
@@ -27,6 +27,9 @@ class AppExtension extends AbstractExtension
|
||||
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']]),
|
||||
new TwigFunction('is_static_text', [AppRuntime::class, 'isStaticText']),
|
||||
new TwigFunction('is_hidden', [AppRuntime::class, 'isHidden']),
|
||||
new TwigFunction('gravatar_url', [AppRuntime::class, 'getGravatarUrl']),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user