function views_ajax_command_add_tab
Creates a Drupal AJAX 'addTab' command.
Parameters
string $id: The DOM ID.
string $title: The title.
string $body: The body.
Return value
array An array suitable for use with the ajax_render() function.
Related topics
File
-
includes/
ajax.inc, line 156
Code
function views_ajax_command_add_tab($id, $title, $body) {
$command = array(
'command' => 'viewsAddTab',
'id' => $id,
'title' => $title,
'body' => $body,
);
return $command;
}