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

Breadcrumb

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

function 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 34

Class

RestripeCommand
AJAX command for resetting the striping on a table.

Namespace

Drupal\Core\Ajax

Code

public function __construct($selector) {
    $this->selector = $selector;
}
RSS feed
Powered by Drupal