‪TYPO3CMS  11.5
TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface:
TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider

Public Member Functions

string getTitle ()
 
string getLink ()
 
string getTarget ()
 

Detailed Description

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

Definition at line 23 of file ButtonProviderInterface.php.

Member Function Documentation

◆ getLink()

string TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface::getLink ( )

◆ getTarget()

string TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface::getTarget ( )

Specify the target of the link like '_blank'

Returns
‪string

Implemented in TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider, and TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider.

◆ getTitle()

string TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface::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'

Returns
‪string

Implemented in TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider, and TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider.