You are here

public function CommandInterface::render in Zircon Profile 8

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

Return an array to be run through json_encode and sent to the client.

23 methods override CommandInterface::render()
AddCssCommand::render in core/lib/Drupal/Core/Ajax/AddCssCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
AlertCommand::render in core/lib/Drupal/Core/Ajax/AlertCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
BaseCommand::render in core/lib/Drupal/Core/Ajax/BaseCommand.php
Return an array to be run through json_encode and sent to the client.
ChangedCommand::render in core/lib/Drupal/Core/Ajax/ChangedCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
CloseDialogCommand::render in core/lib/Drupal/Core/Ajax/CloseDialogCommand.php
Return an array to be run through json_encode and sent to the client.

... See full list

File

core/lib/Drupal/Core/Ajax/CommandInterface.php, line 23
Contains \Drupal\Core\Ajax\CommandInterface.

Class

CommandInterface
AJAX command interface.

Namespace

Drupal\Core\Ajax

Code

public function render();