DigiComp.FluidRenderFunctions/Resources/Private/Templates/Tests/Functional/Fixtures/Test/Index.html
Ferdinand Kuhl 0de901d45c
Some checks failed
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline failed
ci/woodpecker/push/functional-tests/2 Pipeline failed
ci/woodpecker/push/functional-tests/3 Pipeline failed
ci/woodpecker/push/functional-tests/4 Pipeline failed
First working version
2024-06-01 23:15:35 +02:00

8 lines
329 B
HTML

<f:layout name="Test" />
{namespace rf=DigiComp\FluidRenderFunctions\ViewHelpers}
<f:section name="Content"><f:spaceless>
<rf:registerRenderFunction as="testFunc">
{subject.name} is cool
</rf:registerRenderFunction>
{test -> rf:applyRenderFunction(function: testFunc, force: true)}
</f:spaceless></f:section>