You are here

public function RestripeCommand::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Ajax/RestripeCommand.php \Drupal\Core\Ajax\RestripeCommand::__construct()

Constructs a RestripeCommand object.

Parameters

string $selector: A CSS selector for the table to be restriped.

File

core/lib/Drupal/Core/Ajax/RestripeCommand.php, line 39
Contains \Drupal\Core\Ajax\RestripeCommand.

Class

RestripeCommand
AJAX command for resetting the striping on a table.

Namespace

Drupal\Core\Ajax

Code

public function __construct($selector) {
  $this->selector = $selector;
}