Fluid ViewHelper namespaces should be part of TYPO3 configuration
By storing Fluid's namespaces in $GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces'] we can allow adding or extending the global namespaces from third party packages in for example ext_localconf.php, or by simply specifying the namespace arrays in LocalConfiguration.php.
In terms of performance there is nearly zero impact but in terms of flexibility this should provide the ultimate way to manage global namespaces as configuration; something that currently is only possible by implementing custom ViewHelperResolver(s).
[FEATURE] Place global Fluid ViewHelper namespaces in TYPO3 configuration
This change moves the default/global namespaces from being stored
directly on the ViewHelperResolver to being stored in the global
TYPO3 configuration array.
This then allows the namespaces to be manipulated as part of the site
configuration, including from within third party ViewHelper packages
which follow TYPO3 extension rules.
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>
Reviewed-by: Anja Leichsenring <firstname.lastname@example.org>
Tested-by: Anja Leichsenring <email@example.com>