Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HighlightCommand.php

function HighlightCommand::__construct

Constructs a \Drupal\views\Ajax\HighlightCommand object.

Parameters

string $selector: A CSS selector.

File

core/modules/views/src/Ajax/HighlightCommand.php, line 27

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal