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_
).
Example:
$GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['tx_example_sv1']['foo'] = 'bar';
Copied!
The general syntax is:
$GLOBALS['TYPO3_CONF_VARS']['SVCONF'][service type][service key][config key] = value;
Copied!
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;
Copied!
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.