Return an array to be run through json_encode and sent to the client.
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();