Constructs a \Drupal\views\Ajax\HighlightCommand object.
Parameters
string $selector:
A CSS selector.
File
- drupal/core/modules/views/lib/Drupal/views/Ajax/HighlightCommand.php, line 32
- 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 __construct($selector) {
$this->selector = $selector;
}