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
getLink()
Return the link
public
getLink() : string
Return values
stringgetTarget()
Specify the target of the link like '_blank'
public
getTarget() : string
Return values
stringgetTitle()
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