You are here

public function PrivateMessageInsertThreadCommand::__construct in Private Message 8

Same name and namespace in other branches
  1. 8.2 src/Ajax/PrivateMessageInsertThreadCommand.php \Drupal\private_message\Ajax\PrivateMessageInsertThreadCommand::__construct()

Constructs a PrivateMessageInsertThreadCommand object.

Parameters

string $thread: The HTML of the thread to be inserted.

File

src/Ajax/PrivateMessageInsertThreadCommand.php, line 25

Class

PrivateMessageInsertThreadCommand
Ajax command to insert a thread into the private message page.

Namespace

Drupal\private_message\Ajax

Code

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