template_preprocess_HOOK

see
https://api.drupal.org/api/drupal/includes!theme.inc/function/theme/7