public InsertCommand::__construct($selector, $content, array $settings = NULL)
Constructs an InsertCommand object.
string $selector: A CSS selector.
string|array $content: The content that will be inserted in the matched element(s), either a render array or an HTML string.
array $settings: An array of JavaScript settings to be passed to any attached behaviors.
public function __construct($selector, $content, array $settings = NULL) { $this->selector = $selector; $this->content = $content; $this->settings = $settings; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!InsertCommand.php/function/InsertCommand::__construct/8.1.x