public function CommandInterface::render in Drupal 8
Same name and namespace in other branches
- 9 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.
29 methods override CommandInterface::render()
- AddCssCommand::render in core/lib/ Drupal/ Core/ Ajax/ AddCssCommand.php 
- Implements Drupal\Core\Ajax\CommandInterface:render().
- AddStyleSheetCommand::render in core/modules/ ckeditor/ src/ Ajax/ AddStyleSheetCommand.php 
- Return an array to be run through json_encode and sent to the client.
- AlertCommand::render in core/lib/ Drupal/ Core/ Ajax/ AlertCommand.php 
- Implements Drupal\Core\Ajax\CommandInterface:render().
- AnnounceCommand::render in core/lib/ Drupal/ Core/ Ajax/ AnnounceCommand.php 
- Return an array to be run through json_encode and sent to the client.
- BaseCommand::render in core/lib/ Drupal/ Core/ Ajax/ BaseCommand.php 
- Return an array to be run through json_encode and sent to the client.
File
- core/lib/ Drupal/ Core/ Ajax/ CommandInterface.php, line 18 
Class
- CommandInterface
- AJAX command interface.
Namespace
Drupal\Core\AjaxCode
public function render();