public function PrivateMessageUpdateUnreadThreadCountCommand::__construct in Private Message 8
Same name and namespace in other branches
- 8.2 src/Ajax/PrivateMessageUpdateUnreadThreadCountCommand.php \Drupal\private_message\Ajax\PrivateMessageUpdateUnreadThreadCountCommand::__construct()
 
Constructs a PrivateMessageMembersAutocompleteResponseCommand object.
Parameters
int $unreadThreadCount: The number of unread threads.
File
- src/
Ajax/ PrivateMessageUpdateUnreadThreadCountCommand.php, line 25  
Class
- PrivateMessageUpdateUnreadThreadCountCommand
 - Ajax command to update the number of unread threads.
 
Namespace
Drupal\private_message\AjaxCode
public function __construct($unreadThreadCount) {
  $this->unreadThreadCount = $unreadThreadCount;
}