Skip to main content

Can use set_title() for Drupal 7 function mymodule_preprocess_views_view(&$variables) { $view = $variables['view']; if ($view->name == 'machine_name' && $view->current_display == 'display_machine_name') { $view->set_title('New Display Title'); //added end quote } }

eric.chenchao
  • 748
  • 1
  • 7
  • 7