Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CommandInterface.php

function CommandInterface::render

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

31 methods override CommandInterface::render()
AddCssCommand::render in core/lib/Drupal/Core/Ajax/AddCssCommand.php
Return an array to be run through json_encode and sent to the client.
AddJsCommand::render in core/lib/Drupal/Core/Ajax/AddJsCommand.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.

... See full list

File

core/lib/Drupal/Core/Ajax/CommandInterface.php, line 18

Class

CommandInterface
AJAX command interface.

Namespace

Drupal\Core\Ajax

Code

public function render();
RSS feed
Powered by Drupal