1 ajax.inc views_ajax_command_hilite($selector)

Creates a Backdrop AJAX 'viewsHilite' command.

Parameters

$selector: The selector to highlight

Return value

An array suitable for use with the ajax_render() function.

Related topics

File

core/modules/views/includes/ajax.inc, line 87
Handles the server side AJAX interactions of Views.

Code

function views_ajax_command_hilite($selector) {
  return array(
    'command' => 'viewsHilite',
    'selector' => $selector,
  );
}