public function HighlightCommand::render

Implements \Drupal\Core\Ajax\CommandInterface::render().

Overrides CommandInterface::render

File

drupal/core/modules/views/lib/Drupal/views/Ajax/HighlightCommand.php, line 39
Contains \Drupal\views\Ajax\HighlightCommand.

Class

HighlightCommand
Provides an AJAX command for highlighting a certain new piece of html.

Namespace

Drupal\views\Ajax

Code

public function render() {
  return array(
    'command' => 'viewsHighlight',
    'selector' => $this->selector,
  );
}