Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
AaronBaumani see this has been reported previously
#803498: template_preprocess_calendar has no tpl file; can't be specialized in theme