template_preprocess_calendar() is called directly a number of times.
there's no way to override it with a hook_preprocess_* function.
there's no implementation of theme_calendar() for which this preprocessor function would even be called.
the naming of this function is misleading and confusing.

(at least) two possible solutions:
* implement theme_calendar() so that this function actually makes sense
* rename template_preprocess_calendar(), removing "template" and "preprocess"

Comments

AaronBauman’s picture

Status: Active » Closed (duplicate)