You are here

protected property AjaxResponse::$commands in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Ajax/AjaxResponse.php \Drupal\Core\Ajax\AjaxResponse::commands

The array of ajax commands.

Type: array

File

core/lib/Drupal/Core/Ajax/AjaxResponse.php, line 24

Class

AjaxResponse
JSON response object for AJAX requests.

Namespace

Drupal\Core\Ajax

Code

protected $commands = [];