1 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
- core/
modules/ views/ includes/ ajax.inc, line 162 - 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;
}