It would be nice to add something like “filters” to tokens. For example, if I am creating file paths, I may want to convert certain chars to dashes, add some transliteration etc. Otherwise, token filters could convert the resulting string to title case or perform arbitrary operations on the token (some examples that come to mind are the conversion of numbers to written out text, case transformations, transliteration, truncating, …)
Comments
Comment #1
gregglesAfter discussion in IRC with Steven and kkaeffer, this is postponed as far as I'm concerned.
Given that token probably belongs in core and given that Steven is passionately opposed to this idea I don't think it makes sense to spend my time on. If someone else develops a patch then we'll have something real to talk about.
Comment #2
dave reidAfter all this time with no progress or patch, I'm marking this as won't fix.