public function CommandInterface::render

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

10 methods override CommandInterface::render()
AddCssCommand::render in drupal/core/lib/Drupal/Core/Ajax/AddCssCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
AlertCommand::render in drupal/core/lib/Drupal/Core/Ajax/AlertCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
ChangedCommand::render in drupal/core/lib/Drupal/Core/Ajax/ChangedCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
CssCommand::render in drupal/core/lib/Drupal/Core/Ajax/CssCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
DataCommand::render in drupal/core/lib/Drupal/Core/Ajax/DataCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().

... See full list

File

drupal/core/lib/Drupal/Core/Ajax/CommandInterface.php, line 21
Definition of Drupal\Core\Ajax\CommandInterface.

Class

CommandInterface
AJAX command interface.

Namespace

Drupal\Core\Ajax

Code

public function render();