1.20.x ajax.inc | views_ajax_command_replace_title($title) |
Replace the page title.
Return value
An array suitable for use with the ajax_render() function.:
Related topics
File
- modules/
views/ includes/ ajax.inc, line 163 - Handles the server side AJAX interactions of Views.
Code
function views_ajax_command_replace_title($title) {
$command = array(
'command' => 'viewsReplaceTitle',
'title' => $title,
'siteName' => config_get_translated('system.core', 'site_name'),
);
return $command;
}