Modify the page title of view and set custom title for it I am using views and drupal 7 . I pass arguments in the URL and i want this as view page title. This is possible by using override title check-box. But i want to modify this title. i.e do some formatting and some trim of the content and show only what i require as title. how can i do it.
Found one that works

function MYMODULE_views_pre_render(&amp;$view) {
  if ($view-&gt;name == 'menu') {
    $view-&gt;build_info['title'] = "TEST TITLE";
  }
}