TYPO3 / Fluid

Fluid template rendering engine - Standalone version
GNU Lesser General Public License v3.0
153 stars 93 forks source link

API to preprocess template names #938

Open s2b opened 1 month ago

s2b commented 1 month ago

Currently, Fluid preprocesses the supplied template names by requiring the first character of the name to be uppercase. We could introduce an API which allows Fluid users to change this behavior. We might also introduce breaking behavior later on, where we remove the uppercase-requirement from Fluid's standard implementation altogether.

The described API will probably located in the already existing TemplatePaths class and could then be overwritten by Fluid integrations if different behavior is desired (like providing fallbacks from first-character-uppercase to first-character-lowercase).

s2b commented 1 month ago

Related: #371