ModuleLinkViewHelper extends AbstractViewHelper uses CompileWithRenderStatic

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <backend:modulelink>

Create internal link within backend.

Examples

Default::

<form action="{be:moduleLink(route:'pages_new', arguments:'{id:pageUid}')}" method="post">
    <!-- form content -->
</form>

Output::

<form action="/pages/new" method="post">
    <!-- form content -->
</form>

Table of Contents

Methods

initializeArguments()  : mixed
Initializes the arguments
renderStatic()  : string
Render module link with arguments

Methods

initializeArguments()

Initializes the arguments

public initializeArguments() : mixed

renderStatic()

Render module link with arguments

public static renderStatic(array<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
$arguments : array<string|int, mixed>
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface
Return values
string

        
On this page

Search results