Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RemoveCommand.php

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\Ajax

Code

public function __construct($selector) {
    $this->selector = $selector;
}
RSS feed
Powered by Drupal