Document new `InsertTagsSystem` `[Contao ^5.2.x]`
Closed this issue · 2 comments
zoglo commented
Description
The following PRs:
included a new insert-tags-system in Contao 5.2+
. It apparently allows registering insert tags via PHP Annotations.
Examples
Normal usage
#[AsInsertTag('link_url')]
With fragments
#[AsInsertTag('date', asFragment: true)]
Flags
#[AsInsertTagFlag('number_format')]
Need more information
The PRs do explain how to use it, I wonder if there is more that I missed? /cc @ausi
ausi commented
Block insert tags
#[AsBlockInsertTag('iflng', endTag: 'iflng')]