public function InsertCommand::render

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

Overrides CommandInterface::render

6 methods override InsertCommand::render()

File

drupal/core/lib/Drupal/Core/Ajax/InsertCommand.php, line 67
Definition of Drupal\Core\Ajax\InsertCommand.

Class

InsertCommand
Generic AJAX command for inserting content.

Namespace

Drupal\Core\Ajax

Code

public function render() {
  return array(
    'command' => 'insert',
    'method' => NULL,
    'selector' => $this->selector,
    'data' => $this->html,
    'settings' => $this->settings,
  );
}