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>

FinalYes

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()  : void
renderStatic()  : string
Render module link with arguments

Methods

initializeArguments()

public initializeArguments() : void

renderStatic()

Render module link with arguments

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

        
On this page

Search results