Same filename and directory in other branches
- 8.9.x core/lib/Drupal/Core/Ajax/AppendCommand.php
- 9 core/lib/Drupal/Core/Ajax/AppendCommand.php
Namespace
Drupal\Core\Ajax
File
core/lib/Drupal/Core/Ajax/AppendCommand.php
View source
<?php
namespace Drupal\Core\Ajax;
class AppendCommand extends InsertCommand {
public function render() {
return [
'command' => 'insert',
'method' => 'append',
'selector' => $this->selector,
'data' => $this
->getRenderedContent(),
'settings' => $this->settings,
];
}
}
Classes
Name |
Description |
AppendCommand |
An AJAX command for calling the jQuery append() method. |