Dashboard Widget

The dashboard widget can be placed to the TYPO3 backend dashboard. It shows the current environment regarding the configuration.

Dashboard Widget Example

Dashboard Widget Example

Dashboard Widget Selection

Dashboard Widget Selection

You can adjust the widget configuration in your ext_localconf.php:

ext_localconf.php
use KonradMichalik\Typo3EnvironmentIndicator\Configuration\Handler;
use KonradMichalik\Typo3EnvironmentIndicator\Configuration\Indicator;
use KonradMichalik\Typo3EnvironmentIndicator\Configuration\Trigger;

Configuration\Handler::addIndicator(
    triggers: [
        new Trigger\ApplicationContext('Development/Text')
    ],
    indicators: [
        new Indicator\Backend\Widget([
            'color' => '#bd593a',
        ])
    ]
);
Copied!

Additional optional configuration keys:

  • text (string): The text of the widget. Default is the application context.
  • icon (string): The icon of the widget. Default is information-application-context.
  • textSize (string): The text size of the widget. Default is 20px.

The dashboard widget can not disappear, if no configuration is set. It is always shown in the backend dashboard.

Dashboard Widget Production Example

Dashboard Widget Production Example