public function PrivateMessageInboxInsertThreadsCommand::__construct in Private Message 8.2
Same name and namespace in other branches
- 8 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.
bool $has_next: A boolean to know if there are more threads after.
File
- src/
Ajax/ PrivateMessageInboxInsertThreadsCommand.php, line 34
Class
- PrivateMessageInboxInsertThreadsCommand
- Ajax Command to insert private message inbox threads.
Namespace
Drupal\private_message\AjaxCode
public function __construct($threads, $has_next) {
$this->threads = $threads;
$this->hasNext = $has_next;
}