public function InvokeCommand::render

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

Overrides CommandInterface::render

File

drupal/core/lib/Drupal/Core/Ajax/InvokeCommand.php, line 68
Definition of 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,
  );
}