AjaxResponse::$commands
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/AjaxResponse.php \Drupal\Core\Ajax\AjaxResponse::commands
- 8.9.x core/lib/Drupal/Core/Ajax/AjaxResponse.php \Drupal\Core\Ajax\AjaxResponse::commands
- 11.x 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\AjaxCode
protected $commands = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.