AjaxResponse::getCommands

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;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.