‪TYPO3CMS  ‪main
TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider Class Reference
Inheritance diagram for TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider:
TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface TYPO3\CMS\Dashboard\Widgets\ElementAttributesInterface

Public Member Functions

 __construct (private readonly string $title, private readonly string $target='')
 
 getTitle ()
 
 getLink ()
 
 getTarget ()
 
 getElementAttributes ()
 

Detailed Description

Provide link for sys log button. Check whether belog is enabled and add link to module. No link is returned if not enabled.

Definition at line 29 of file SysLogButtonProvider.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider::__construct ( private readonly string  $title,
private readonly string  $target = '' 
)

Definition at line 31 of file SysLogButtonProvider.php.

Member Function Documentation

◆ getElementAttributes()

TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider::getElementAttributes ( )

◆ getLink()

TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider::getLink ( )

Return the link

Implements TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface.

Definition at line 38 of file SysLogButtonProvider.php.

◆ getTarget()

TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider::getTarget ( )

Specify the target of the link like '_blank'

Implements TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface.

Definition at line 43 of file SysLogButtonProvider.php.

◆ getTitle()

TYPO3\CMS\Dashboard\Widgets\Provider\SysLogButtonProvider::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'

Implements TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface.

Definition at line 33 of file SysLogButtonProvider.php.