Backend topbar
The backend toolbar item will show the current project version and environment.
Backend topbar
Note
Unlike most other indicators, this one is not part of the default configuration presets. It only does something once you register it yourself, as shown below.
You can adjust the color of the topbar in your ext_:
ext_localconf.php
use KonradMichalik\Typo3EnvironmentIndicator\Configuration\Handler;
use KonradMichalik\Typo3EnvironmentIndicator\Configuration\Indicator;
use KonradMichalik\Typo3EnvironmentIndicator\Configuration\Trigger;
Handler::addIndicator(
triggers: [
new Trigger\ApplicationContext('Testing')
],
indicators: [
new Indicator\Backend\Topbar([
'color' => '#bd593a',
])
]
);
Copied!
Additional optional configuration keys:
description(string): An optional description. When set, it is shown as a tooltip (titleattribute) on the colored topbar. Plain text only. Default is empty.
Note
The backend topbar is a feature, which can also be shown in production environments. Use the extension settings to enable, disable or restrict it.