Backend toolbar item
The backend toolbar item will show the current project version and environment.

Backend toolbar item
You can adjust the color of the toolbar item in your ext_
:
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('Testing')
],
indicators: [
new Indicator\Backend\Toolbar([
'color' => '#bd593a',
])
]
);
Copied!
Additional optional configuration keys:
text
(string): The text of the toolbar item. Default is the application context.icon
(string): The icon of the toolbar item. Default isinformation-
.application- context index
(int): The positioning index of the toolbar item. Default is0
.
Note
The backend toolbar item is a feature, which can also be shown in production context. Use the extension settings to enable, disable or restrict it.