Interfaces
The following list provides information for all necessary interfaces that are used inside of this documentation. For up to date information, please check the source code.
-
class
WidgetInterface -
- Fully qualified name
-
\TYPO3\CMS\ Dashboard\ Widgets\ Widget Interface
Has to be implemented by all widgets. This interface defines public API used by ext:dashboard to interact with widgets.
-
class
RequestAwareWidgetInterface -
- Fully qualified name
-
\TYPO3\CMS\ Dashboard\ Widgets\ Request Aware Widget Interface
This interface declares a widget has a dependency to the current PSR-7 request. When implemented, the dashboard controller will call
setimmediately after widget instantiation to hand over the current request. Widgets that rely onRequest () Backendtypically need the current request.View Factory
-
class
WidgetConfigurationInterface -
- Fully qualified name
-
\TYPO3\CMS\ Dashboard\ Widgets\ Widget Configuration Interface
Used internally in ext:dashboard. Used to separate internal configuration from widgets. Can be required in widget classes and passed to view.
getDescription()-
- returntype
-
string
- Returns
-
Description of a widget, this is used for the widget selector.
-
class
AdditionalJavaScriptInterface -
- Fully qualified name
-
\TYPO3\CMS\ Dashboard\ Widgets\ Additional Java Script Interface
Widgets implementing this interface will add the provided JavaScript files. Those files will be loaded in dashboard view if the widget is added at least once.
-
class
AdditionalCssInterface -
- Fully qualified name
-
\TYPO3\CMS\ Dashboard\ Widgets\ Additional Css Interface
Widgets implementing this interface will add the provided Css files. Those files will be loaded in dashboard view if the widget is added at least once.
-
class
ButtonProviderInterface -
- Fully qualified name
-
\TYPO3\CMS\ Dashboard\ Widgets\ Button Provider Interface
getTitle()-
- returntype
-
string
- Returns
-
The title used for the button. E.g. an
LLL:reference likeEXT: LLL:.EXT: dashboard/ Resources/ Private/ Language/ locallang. xlf: widgets. t3news. more Items
-
class
NumberWithIconDataProviderInterface -
- Fully qualified name
-
\TYPO3\CMS\ Dashboard\ Widgets\ Number With Icon Data Provider Interface
-
class
ChartDataProviderInterface -
- Fully qualified name
-
\TYPO3\CMS\ Dashboard\ Widgets\ Chart Data Provider Interface