public function PrivateMessageInsertNewMessagesCommand::__construct in Private Message 8
Same name and namespace in other branches
- 8.2 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.
Overrides PrivateMessageInsertMessagesCommand::__construct
File
- src/
Ajax/ PrivateMessageInsertNewMessagesCommand.php, line 16
Class
- PrivateMessageInsertNewMessagesCommand
- Class to insert new private messages into a private message thread.
Namespace
Drupal\private_message\AjaxCode
public function __construct($messages) {
parent::__construct('new', $messages);
}