You are here

public function RestripeCommand::render in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Ajax/RestripeCommand.php \Drupal\Core\Ajax\RestripeCommand::render()
  2. 10 core/lib/Drupal/Core/Ajax/RestripeCommand.php \Drupal\Core\Ajax\RestripeCommand::render()

Implements Drupal\Core\Ajax\CommandInterface:render().

Overrides CommandInterface::render

File

core/lib/Drupal/Core/Ajax/RestripeCommand.php, line 41

Class

RestripeCommand
AJAX command for resetting the striping on a table.

Namespace

Drupal\Core\Ajax

Code

public function render() {
  return [
    'command' => 'restripe',
    'selector' => $this->selector,
  ];
}