function InvokeCommand::render
Implements Drupal\Core\Ajax\CommandInterface:render().
Overrides CommandInterface::render
File
-
core/
lib/ Drupal/ Core/ Ajax/ InvokeCommand.php, line 63
Class
- InvokeCommand
- AJAX command for invoking an arbitrary jQuery method.
Namespace
Drupal\Core\AjaxCode
public function render() {
return [
'command' => 'invoke',
'selector' => $this->selector,
'method' => $this->method,
'args' => $this->arguments,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.