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.

Registration Changes

The priority and other values of the original service registration can be overridden in any extension's ext_localconf.php file. Example:

 // Raise priority of service 'tx_example_sv1' to 110
$GLOBALS['TYPO3_CONF_VARS']['T3_SERVICES']['auth']['tx_example_sv1']['priority'] = 110;

 // Disable service 'tx_example_sv1'
$GLOBALS['TYPO3_CONF_VARS']['T3_SERVICES']['auth']['tx_example_sv1']['enable'] = false;

The general syntax is:

$GLOBALS['TYPO3_CONF_VARS']['T3_SERVICES'][service type][service key][option key] = value;

Registration options are described in more details in Implementing a service. Any of these options may be overridden using the above syntax. However caution should be used depending on the options. className should not be overridden in such a way. Instead a new service should be implemented using an alternate class.