public function RestripeCommand::__construct

public RestripeCommand::__construct($selector)

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 34

Class

RestripeCommand
AJAX command for resetting the striping on a table.

Namespace

Drupal\Core\Ajax

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!RestripeCommand.php/function/RestripeCommand::__construct/8.1.x