public function CommandInterface::render

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

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

14 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().
CloseDialogCommand::render in drupal/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php
Implements \Drupal\Core\Ajax\CommandInterface::render().
CssCommand::render in drupal/core/lib/Drupal/Core/Ajax/CssCommand.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();