public function CommandInterface::render

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

22 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().
BaseCommand::render in drupal/core/modules/edit/lib/Drupal/edit/Ajax/BaseCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
ChangedCommand::render in drupal/core/lib/Drupal/Core/Ajax/ChangedCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
CloseDialogCommand::render in drupal/core/lib/Drupal/Core/Ajax/CloseDialogCommand.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();