You are here

PrivateMessageInsertNewMessagesCommand.php in Private Message 8

Same filename and directory in other branches
  1. 8.2 src/Ajax/PrivateMessageInsertNewMessagesCommand.php

File

src/Ajax/PrivateMessageInsertNewMessagesCommand.php
View source
<?php

namespace Drupal\private_message\Ajax;


/**
 * Class to insert new private messages into a private message thread.
 */
class PrivateMessageInsertNewMessagesCommand extends PrivateMessageInsertMessagesCommand {

  /**
   * Constructs a PrivateMessageInsertNewMessagesCommand object.
   *
   * @param string $messages
   *   The HTML for the messages to be inserted in the page.
   */
  public function __construct($messages) {
    parent::__construct('new', $messages);
  }

}

Classes

Namesort descending Description
PrivateMessageInsertNewMessagesCommand Class to insert new private messages into a private message thread.