Revert "Issue #2652834 by david_garcia, Fabianx: Allow the use of callbacks instead of global functions in theme processor functions" This reverts commit d73dc6b1.