LinkButtonViewHelper

class \TYPO3\CMS\Backend\ViewHelpers\ModuleLayout\Button\LinkButtonViewHelper

Extends
AbstractButtonViewHelper

A ViewHelper for adding a link button to the doc header area.

Deprecated

since TYPO3 v11.3, will be removed in TYPO3 v12.0. Deprecation logged AbstractButtonViewHelper.

It must be a child of :ref:<be:moduleLayout> <typo3-backend-modulelayout>.

Examples

Default::

be:moduleLayout <be:moduleLayout.button.linkButton icon="actions-add" title="Add record')}" link="{be:uri.newRecord(table: 'tx_my_table')}" /> </be:moduleLayout>

Table of Contents

Methods

initializeArguments()  : void
Initialize arguments.
renderStatic()  : void
createButton()  : ButtonInterface

Methods

initializeArguments()

Initialize arguments.

public initializeArguments() : void

Tags

throws
Exception

renderStatic()

public static renderStatic(array $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : void

Parameters

$arguments : array
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface

Tags

throws
InvalidArgumentException
throws
Exception
On this page