Feature #78415

Fluid ViewHelper namespaces should be part of TYPO3 configuration

Added by Claus Due over 2 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2016-10-25
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

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).

Associated revisions

Revision d9e7b6a8 (diff)
Added by Claus Due over 2 years ago

[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.

Change-Id: Ic324c023b4fbff6ab3e73e651dfca8dfd78453d9
Releases: master
Resolves: #78415
Reviewed-on: https://review.typo3.org/50354
Tested-by: TYPO3com <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50354

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50354

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50354

#4 Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50354

#5 Updated by Anonymous over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Benni Mack 10 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF