31 methods override CommandInterface::render()

AddCssCommand::render in core/lib/Drupal/Core/Ajax/AddCssCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
AddJsCommand::render in core/lib/Drupal/Core/Ajax/AddJsCommand.php
Return an array to be run through json_encode and sent to the client.
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.
ChangedCommand::render in core/lib/Drupal/Core/Ajax/ChangedCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
CloseDialogCommand::render in core/lib/Drupal/Core/Ajax/CloseDialogCommand.php
Return an array to be run through json_encode and sent to the client.
CssCommand::render in core/lib/Drupal/Core/Ajax/CssCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
DataCommand::render in core/lib/Drupal/Core/Ajax/DataCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
EditorDialogSave::render in core/modules/editor/src/Ajax/EditorDialogSave.php
Return an array to be run through json_encode and sent to the client.
FocusFirstCommand::render in core/lib/Drupal/Core/Ajax/FocusFirstCommand.php
Return an array to be run through json_encode and sent to the client.
HighlightCommand::render in core/modules/views/src/Ajax/HighlightCommand.php
Return an array to be run through json_encode and sent to the client.
InsertCommand::render in core/lib/Drupal/Core/Ajax/InsertCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
InvokeCommand::render in core/lib/Drupal/Core/Ajax/InvokeCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
JsAjaxTestCommand::render in core/modules/system/tests/modules/js_ajax_test/src/Ajax/JsAjaxTestCommand.php
Return an array to be run through json_encode and sent to the client.
MessageCommand::render in core/lib/Drupal/Core/Ajax/MessageCommand.php
Return an array to be run through json_encode and sent to the client.
OpenDialogCommand::render in core/lib/Drupal/Core/Ajax/OpenDialogCommand.php
Implements \Drupal\Core\Ajax\CommandInterface:render().
RedirectCommand::render in core/lib/Drupal/Core/Ajax/RedirectCommand.php
Implements \Drupal\Core\Ajax\CommandInterface:render().
RemoveCommand::render in core/lib/Drupal/Core/Ajax/RemoveCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
ReplaceTitleCommand::render in core/modules/views/src/Ajax/ReplaceTitleCommand.php
Return an array to be run through json_encode and sent to the client.
RestripeCommand::render in core/lib/Drupal/Core/Ajax/RestripeCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
ScrollTopCommand::render in core/modules/views/src/Ajax/ScrollTopCommand.php
Return an array to be run through json_encode and sent to the client.
SetDialogOptionCommand::render in core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php
Return an array to be run through json_encode and sent to the client.
SetFormCommand::render in core/modules/views_ui/src/Ajax/SetFormCommand.php
Return an array to be run through json_encode and sent to the client.
SetSubtreesCommand::render in core/modules/toolbar/src/Ajax/SetSubtreesCommand.php
Return an array to be run through json_encode and sent to the client.
SettingsCommand::render in core/lib/Drupal/Core/Ajax/SettingsCommand.php
Implements Drupal\Core\Ajax\CommandInterface:render().
ShowButtonsCommand::render in core/modules/views/src/Ajax/ShowButtonsCommand.php
Return an array to be run through json_encode and sent to the client.
TriggerPreviewCommand::render in core/modules/views/src/Ajax/TriggerPreviewCommand.php
Return an array to be run through json_encode and sent to the client.
UpdateBuildIdCommand::render in core/lib/Drupal/Core/Ajax/UpdateBuildIdCommand.php
Return an array to be run through json_encode and sent to the client.
UpdateSelectionCommand::render in core/modules/media_library/src/Ajax/UpdateSelectionCommand.php
Return an array to be run through json_encode and sent to the client.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.