‪TYPO3CMS  ‪main
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

 getTitle ()
 
 getLink ()
 
 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()

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

◆ getTarget()

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

◆ getTitle()

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'

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