You are here

public function InvokeCommand::render in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Ajax/InvokeCommand.php \Drupal\Core\Ajax\InvokeCommand::render()

Implements Drupal\Core\Ajax\CommandInterface:render().

Overrides CommandInterface::render

File

core/lib/Drupal/Core/Ajax/InvokeCommand.php, line 68
Contains \Drupal\Core\Ajax\InvokeCommand.

Class

InvokeCommand
AJAX command for invoking an arbitrary jQuery method.

Namespace

Drupal\Core\Ajax

Code

public function render() {
  return array(
    'command' => 'invoke',
    'selector' => $this->selector,
    'method' => $this->method,
    'args' => $this->arguments,
  );
}