Added functions to retrieve associated parts of an element within twig labels

This fixes #1239
This commit is contained in:
Jan Böhmer 2026-02-15 13:52:56 +01:00
parent 233c5e8550
commit aed2652f1d
3 changed files with 60 additions and 13 deletions

View file

@ -114,6 +114,7 @@ final class SandboxedTwigFactory
'barcode_svg',
//SandboxedLabelExtension
'placeholder',
'associated_parts', 'associated_parts_count', 'associated_parts_r', 'associated_parts_count_r',
];
private const ALLOWED_METHODS = [