You are here

public function ChangedCommand::render in Zircon Profile 8

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

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

Overrides CommandInterface::render

File

core/lib/Drupal/Core/Ajax/ChangedCommand.php, line 56
Contains \Drupal\Core\Ajax\ChangedCommand.

Class

ChangedCommand
An AJAX command for marking HTML elements as changed.

Namespace

Drupal\Core\Ajax

Code

public function render() {
  return array(
    'command' => 'changed',
    'selector' => $this->selector,
    'asterisk' => $this->asterisk,
  );
}