Generic AJAX command for inserting content.
This command instructs the client to insert the given HTML using whichever jQuery DOM manipulation method has been specified in the #ajax['method'] variable of the element that triggered the request.
This command is implemented by Drupal.ajax.prototype.commands.insert() defined in misc/ajax.js.
Expanded class hierarchy of InsertCommand
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InsertCommand:: |
protected | property | The HTML content that will replace the matched element(s). | |
InsertCommand:: |
protected | property | A CSS selector string. | |
InsertCommand:: |
protected | property | A settings array to be passed to any any attached JavaScript behavior. | |
InsertCommand:: |
public | function |
Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface:: |
6 |
InsertCommand:: |
public | function | Constructs an InsertCommand object. |