You are here

public function EntityReferenceFilterInsertNoWrapCommand::render in Views Reference Filter 8

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

Overrides HtmlCommand::render

File

src/Ajax/EntityReferenceFilterInsertNoWrapCommand.php, line 28

Class

EntityReferenceFilterInsertNoWrapCommand
AJAX command for calling the jQuery html() method.

Namespace

Drupal\entityreference_filter\Ajax

Code

public function render() {
  return [
    'command' => 'entityReferenceFilterInsertNoWrapCommand',
    'method' => 'html',
    'selector' => $this->selector,
    'data' => $this
      ->getRenderedContent(),
    'settings' => $this->settings,
  ];
}