Drupal 8 8.0.2
|Public Member Functions inherited from InsertCommand|
|__construct ($selector, $content, array $settings=NULL)|
|Public Member Functions inherited from CommandInterface|
|Public Member Functions inherited from CommandWithAttachedAssetsInterface|
|Protected Attributes inherited from InsertCommand|
|Protected Attributes inherited from CommandInterface|
AJAX command for calling the jQuery replace() method.
The 'insert/replaceWith' command instructs the client to use jQuery's replaceWith() method to replace each element matched matched by the given selector with the given HTML.
This command is implemented by Drupal.AjaxCommands.prototype.insert() defined in misc/ajax.js.