public function RemoveCommand::__construct

public RemoveCommand::__construct($selector)

Constructs a RemoveCommand object.

Parameters

string $selector:

File

core/lib/Drupal/Core/Ajax/RemoveCommand.php, line 33

Class

RemoveCommand
AJAX command for calling the jQuery remove() method.

Namespace

Drupal\Core\Ajax

Code

public function __construct($selector) {
  $this->selector = $selector;
}

© 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!RemoveCommand.php/function/RemoveCommand::__construct/8.1.x