Q:

_preprocess_views_view__ specify view name

I have a view named "taxonomy_term_custom." The preprocess code below works to do some specific stuff for this view, but I would like to override the hook like this:
function mywebsite_glue_preprocess_views_view__taxonomy_term_custom(&$vars) {
}

Is this possible?
function mywebsite_glue_preprocess_views_view(&$vars) {
  if($vars['view']->name == 'taxonomy_term_custom'){
    dpm($vars);
    // do stuff
  }
}

A:

In Drupal 7 this preprocess function will not automatically get picked up as it did in Drupal 6. There is a workaround posted here if you want the same behaviour as Drupal 6. For the issue.

A:

Just call preprocess for each view.
function mywebsite_glue_preprocess_views_view(&$vars) {
  $function_name = __FUNCTION__ . '__' . $vars['view']->name;
  if (function_exists($function_name)) {
    $function_name($vars);
  }
}

function mywebsite_glue_preprocess_views_view__taxonomy_term_custom(&$vars) {
  dpm($vars);
  // do stuff
}

