function RestripeCommand::render

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Ajax/RestripeCommand.php \Drupal\Core\Ajax\RestripeCommand::render()
  2. 8.9.x core/lib/Drupal/Core/Ajax/RestripeCommand.php \Drupal\Core\Ajax\RestripeCommand::render()
  3. 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,
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.