TypoScript reference 

The extension provides TypoScript objects and a condition function that can be used in custom TypoScript configurations.

Condition: enableTechnicalContext() 

The enableTechnicalContext() condition function evaluates whether the frontend hint indicator is active for the current environment. It returns true when the frontend context feature is enabled in the extension configuration and a Frontend\Hint indicator is configured for the current application context.

[enableTechnicalContext()]
page.10 = TEXT
page.10.value = Environment indicator is active
[GLOBAL]
Copied!

TypoScript objects 

The following lib.* objects are registered within the [enableTechnicalContext()] condition block via the included Site Set. They can be used or overridden in your own TypoScript.

Object Description
lib.applicationContextTitle Returns the current TYPO3 application context (e.g. Development/DDEV).
lib.applicationContextColor Returns the configured color of the Frontend Hint indicator.
lib.applicationContextTextColor Returns the optimal text color (black or white) for the configured hint color.
lib.websiteTitle Returns the website title from the site configuration. Falls back to the text option of the Frontend Hint if set.
lib.applicationContextPositionX Returns the horizontal position (e.g. left:0).
lib.applicationContextPositionY Returns the vertical position (e.g. top:0).
lib.technicalContext A FLUIDTEMPLATE that renders the complete frontend hint element. This object is automatically added to page output.

Overriding objects 

You can override any of these objects in your own TypoScript setup:

[enableTechnicalContext()]
lib.applicationContextTitle = TEXT
lib.applicationContextTitle.value = My Custom Title
[GLOBAL]
Copied!