public &AjaxResponse::getCommands()
Gets all AJAX commands.
Return value
\Drupal\Core\Ajax\CommandInterface[] Returns all previously added AJAX commands.
File
- core/lib/Drupal/Core/Ajax/AjaxResponse.php, line 64
Class
- AjaxResponse
- JSON response object for AJAX requests.
Namespace
Drupal\Core\Ajax
Code
1 2 3 | public function &getCommands() { return $this ->commands; } |
Please login to continue.