You are here

public function PrivateMessageInboxInsertThreadsCommand::__construct in Private Message 8

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

Constructs a PrivateMessageInboxInsertThreadsCommand object.

Parameters

string $threads: The HTML for the threads to be inserted in the page.

File

src/Ajax/PrivateMessageInboxInsertThreadsCommand.php, line 25

Class

PrivateMessageInboxInsertThreadsCommand
Ajax Command to insert private message inbox threads.

Namespace

Drupal\private_message\Ajax

Code

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