public function PrivateMessageInsertNewMessagesCommand::__construct in Private Message 8.2
Same name and namespace in other branches
- 8 src/Ajax/PrivateMessageInsertNewMessagesCommand.php \Drupal\private_message\Ajax\PrivateMessageInsertNewMessagesCommand::__construct()
Constructs a PrivateMessageInsertNewMessagesCommand object.
Parameters
string $messages: The HTML for the messages to be inserted in the page.
int $messagesCount: The number of messages.
Overrides PrivateMessageInsertMessagesCommand::__construct
File
- src/
Ajax/ PrivateMessageInsertNewMessagesCommand.php, line 18
Class
- PrivateMessageInsertNewMessagesCommand
- Class to insert new private messages into a private message thread.
Namespace
Drupal\private_message\AjaxCode
public function __construct($messages, $messagesCount) {
parent::__construct('new', $messages, $messagesCount);
}