public function InvokeCommand::render in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Ajax/InvokeCommand.php \Drupal\Core\Ajax\InvokeCommand::render()
- 9 core/lib/Drupal/Core/Ajax/InvokeCommand.php \Drupal\Core\Ajax\InvokeCommand::render()
Implements Drupal\Core\Ajax\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,
];
}