function InsertCommand::render
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Ajax/InsertCommand.php \Drupal\Core\Ajax\InsertCommand::render()
Implements Drupal\Core\Ajax\CommandInterface:render().
1 method overrides InsertCommand::render()
- HtmlCommand::render in core/
lib/ Drupal/ Core/ Ajax/ HtmlCommand.php - Implements Drupal\Core\Ajax\CommandInterface:render().
File
-
core/
lib/ Drupal/ Core/ Ajax/ InsertCommand.php, line 67
Class
- InsertCommand
- Generic AJAX command for inserting content.
Namespace
Drupal\Core\AjaxCode
public function render() {
return [
'command' => 'insert',
'method' => NULL,
'selector' => $this->selector,
'data' => $this->getRenderedContent(),
'settings' => $this->settings,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.