Deprecation: #108524 - Fluid namespaces in TYPO3_CONF_VARS
See forge#108524
Description
Registering global namespaces for Fluid templates in TYPO3_ has
been deprecated.
Impact
Defined namespaces in
$GLOBALS
will no longer be registered in TYPO3 v15.
Affected installations
Installations and extensions that use
$GLOBALS
to define additional global namespaces or extend existing global namespaces.
Migration
Standard use cases, such as registering a new global namespace or extending
an existing one, can be migrated to the dedicated Configuration/
configuration file.
Before:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['myext'][] = 'MyVendor\\MyExtension\\ViewHelpers';
After:
<?php
return [
'myext' => ['MyVendor\\MyExtension\\ViewHelpers'],
];
See Feature: #108524 - Configuration file to register global Fluid namespaces for more details and examples.