‪TYPO3CMS  ‪main
TYPO3\CMS\Dashboard\Widgets\T3GeneralInformationWidget Class Reference
Inheritance diagram for TYPO3\CMS\Dashboard\Widgets\T3GeneralInformationWidget:
TYPO3\CMS\Dashboard\Widgets\WidgetInterface TYPO3\CMS\Dashboard\Widgets\RequestAwareWidgetInterface

Public Member Functions

 __construct (private readonly WidgetConfigurationInterface $configuration, private readonly BackendViewFactory $backendViewFactory, private readonly array $options=[],)
 
 setRequest (ServerRequestInterface $request)
 
 renderWidgetContent ()
 
 getOptions ()
 

Private Attributes

ServerRequestInterface $request
 

Detailed Description

Concrete TYPO3 information widget

This widget will give some general information about TYPO3 version and the version installed.

There are no options available for this widget

Definition at line 32 of file T3GeneralInformationWidget.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Dashboard\Widgets\T3GeneralInformationWidget::__construct ( private readonly WidgetConfigurationInterface  $configuration,
private readonly BackendViewFactory  $backendViewFactory,
private readonly array  $options = [] 
)

Definition at line 36 of file T3GeneralInformationWidget.php.

Member Function Documentation

◆ getOptions()

TYPO3\CMS\Dashboard\Widgets\T3GeneralInformationWidget::getOptions ( )

This method returns the options of the widget as set in the registration.

Implements TYPO3\CMS\Dashboard\Widgets\WidgetInterface.

Definition at line 64 of file T3GeneralInformationWidget.php.

◆ renderWidgetContent()

TYPO3\CMS\Dashboard\Widgets\T3GeneralInformationWidget::renderWidgetContent ( )

This method returns the content of a widget. The returned markup will be delivered by an AJAX call and will not be escaped. Be aware of XSS and ensure that the content is well encoded.

Implements TYPO3\CMS\Dashboard\Widgets\WidgetInterface.

Definition at line 47 of file T3GeneralInformationWidget.php.

◆ setRequest()

TYPO3\CMS\Dashboard\Widgets\T3GeneralInformationWidget::setRequest ( ServerRequestInterface  $request)

Member Data Documentation

◆ $request

ServerRequestInterface TYPO3\CMS\Dashboard\Widgets\T3GeneralInformationWidget::$request
private