LinkButtonViewHelper extends AbstractButtonViewHelper
A ViewHelper for adding a link button to the doc header area.
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
renderStatic()
public
static renderStatic(array<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : void
Parameters
- $arguments : array<string|int, mixed>
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface
Tags
createButton()
protected
static createButton(ButtonBar $buttonBar, array<string|int, mixed> $arguments, RenderingContextInterface $renderingContext) : ButtonInterface
Parameters
- $buttonBar : ButtonBar
- $arguments : array<string|int, mixed>
- $renderingContext : RenderingContextInterface