.. _`Fusion ViewHelper Reference`:
Fusion ViewHelper Reference
###########################
This reference was automatically generated from code on 2025-02-12
.. _`Fusion ViewHelper Reference: fusion:render`:
fusion:render
-------------
Render a Fusion object with a relative Fusion path, optionally
pushing new variables onto the Fusion context.
:Implementation: Neos\\Fusion\\ViewHelpers\\RenderViewHelper
Arguments
*********
* ``path`` (string): Relative Fusion path to be rendered
* ``context`` (array, *optional*): ReAdditional context variables to be set
* ``fusionPackageKey`` (string, *optional*): The key of the package to load Fusion from, if not from the current context
* ``fusionFilePathPattern`` (string, *optional*): Resource pattern to load Fusion from. Defaults to: resource://@package/Private/Fusion/
Examples
********
**Simple**::
Fusion:
some.given {
path = Neos.Fusion:Template
…
}
ViewHelper:
Expected result::
(the evaluated Fusion, depending on the given path)
**Fusion from a foreign package**::
Expected result::
(the evaluated Fusion, depending on the given path)