You are here

PrivateMessageInsertPreviousMessagesCommand.php in Private Message 8

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

File

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

namespace Drupal\private_message\Ajax;


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

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

}

Classes

Namesort descending Description
PrivateMessageInsertPreviousMessagesCommand Class to insert older private messages into a private message thread.