‪TYPO3CMS  11.5
TYPO3\CMS\Dashboard\Widgets\EventDataInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Dashboard\Widgets\EventDataInterface:
TYPO3\CMS\Dashboard\Widgets\BarChartWidget TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget

Public Member Functions

array getEventData ()
 

Detailed Description

In case a widget should provide additional data as JSON payload, the widget must implement this interface.

Definition at line 23 of file EventDataInterface.php.

Member Function Documentation

◆ getEventData()

array TYPO3\CMS\Dashboard\Widgets\EventDataInterface::getEventData ( )

This method returns data which should be send to the widget as JSON encoded value.

Returns
‪array

Implemented in TYPO3\CMS\Dashboard\Widgets\BarChartWidget, and TYPO3\CMS\Dashboard\Widgets\DoughnutChartWidget.

Referenced by TYPO3\CMS\Dashboard\Controller\WidgetAjaxController\getContent().