You are here

function views_ajax_command_hilite in Views (for Drupal 7) 8.3

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

Creates a Drupal AJAX 'viewsHilite' command.

Parameters

$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. This makes some assumptions about the client.

File

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

Code

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