You are here

function views_ajax_command_hilite in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 8.3 includes/ajax.inc \views_ajax_command_hilite()

Creates a Drupal AJAX 'viewsHilite' command.

Parameters

string $selector: The selector to highlight.

Return value

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

Related topics

1 call to views_ajax_command_hilite()
views_ajax_form_wrapper in includes/ajax.inc
Wrapper around drupal_build_form to handle some AJAX stuff automatically.

File

includes/ajax.inc, line 136
Handles the server side AJAX interactions of Views.

Code

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