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

public function &getCommands() {
  return $this->commands;
}
doc_Drupal
2016-10-29 08:44:03
Comments
Leave a Comment

Please login to continue.