[FEATURE] Place global Fluid ViewHelper namespaces in TYPO3 configuration
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Feature-78415-GlobalFluidViewHelperNamespacesMovedToTYPO3Configuration.rst
1 .. include:: ../../Includes.txt
2
3 =================================================================================
4 Feature: #78415 - Global Fluid ViewHelper namespaces moved to TYPO3 configuration
5 =================================================================================
6
7 See :issue:`78415`
8
9 Description
10 ===========
11
12 By storing Fluid's namespaces in $GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces'] we can allow adding or
13 extending the global namespaces from third party packages in for example ext_localconf.php, or by simply specifying
14 the namespace arrays in LocalConfiguration.php.
15
16 In terms of performance there is nearly zero impact but in terms of flexibility this should provide the ultimate way
17 to manage global namespaces as configuration; something that currently is only possible by implementing custom
18 ViewHelperResolver(s).
19
20
21 Impact
22 ======
23
24 * Site administrators and third party ViewHelper packages will be able to manipulate the global
25 namespace `f:` in configuration
26 * Third party ViewHelper packages will be able to register new global namespaces
27 * Template developers can use such global namespaces without first importing them and can use them
28 in all Fluid templates regardless of context.
29
30 .. index:: Fluid, LocalConfiguration