function RemoveCommand::__construct
Constructs a RemoveCommand object.
Parameters
string $selector: The selector.
File
-
core/
lib/ Drupal/ Core/ Ajax/ RemoveCommand.php, line 34
Class
- RemoveCommand
- AJAX command for calling the jQuery remove() method.
Namespace
Drupal\Core\AjaxCode
public function __construct($selector) {
$this->selector = $selector;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.