DigiComp.FluidRenderFunctions/Resources/Private/Templates/Tests/Functional/Fixtures/Test/Index.html
Ferdinand Kuhl 050e6e119f
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline was successful
ci/woodpecker/push/functional-tests/2 Pipeline was successful
ci/woodpecker/push/functional-tests/3 Pipeline was successful
ci/woodpecker/push/functional-tests/4 Pipeline was successful
storing the render function in ViewHelperVariableContainer
2024-06-02 04:04:48 +02:00

8 lines
331 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>