ButtonProviderInterface

In case a widget should have a button in the footer of the widget, this button must implement this interface.

Table of Contents

Methods

getLink()  : string
Return the link
getTarget()  : string
Specify the target of the link like '_blank'
getTitle()  : string
This method should return the title that will be shown as the text on the button. As the title will be translated within the template, you can also return a localization string like 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:button'

Methods

Return the link

public getLink() : string
Return values
string

getTarget()

Specify the target of the link like '_blank'

public getTarget() : string
Return values
string

getTitle()

This method should return the title that will be shown as the text on the button. As the title will be translated within the template, you can also return a localization string like 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:button'

public getTitle() : string
Return values
string

        
On this page

Search results