public function ChangedCommand::render

8.x ChangedCommand.php public ChangedCommand::render()

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

Overrides CommandInterface::render

File

drupal/core/lib/Drupal/Core/Ajax/ChangedCommand.php, line 56
Definition of 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,
  );
}