Issue Task Closed

#47159Currently it isn't possible to pass multiple params to user functions within typoscript conditions. Why?

Daniel Hürtgen 04/12/13, 14:27 updated 10/23/17, 22:01

Description

Currrently you can use user functions for typoscript conditions and pass one parameter to your created functions. If you have more than parameter, you must create a workaround and use an delimiter other than comma an split it up in your userfunctions to separate them.

But there is no reason to that.
TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher line 405 following split up the function params into an array, but pass only the first param to your function? Why.

Is there a fundamental reason, why we should/could not do that?

Reviews 3