Attention

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 Configuration

Some services will not need additional configuration. Others may have some options that can be set in the Extension Manager. Yet others may be configured via local configuration files (ext_localconf.php ). Example:

$GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['tx_example_sv1']['foo'] = 'bar';

The general syntax is:

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

A configuration can also be set for all services belonging to the same service type by using the keyword "default" instead of a service key:

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

The available configuration settings should be described in the service's documentation. See Service API to see how you can read these values properly inside your service.