Attention

TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.

Service Type Configuration

It may also be necessary to provide configuration options for the code that uses the services (and not for usage inside the services themselves). It is recommended to make use of the following syntax:

$GLOBALS['TYPO3_CONF_VARS']['SVCONF'][service type]['setup'][config key] = value;

Example:

$GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_alwaysFetchUser'] = true;

This configuration can be placed in a local configuration file (ext_localconf.php ). There's no API for retrieving these values. It's just a best practice recommendation.