TYPO3 v10 has reached end-of-life as of April 30th 2023 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 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;
$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.