You are here

PrivateMessageLoadNewMessagesCommand.php in Private Message 8

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

File

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

namespace Drupal\private_message\Ajax;

use Drupal\Core\Ajax\CommandInterface;

/**
 * Ajax Command to trigger a load of new private messages into a thread.
 */
class PrivateMessageLoadNewMessagesCommand implements CommandInterface {

  /**
   * {@inheritdoc}
   */
  public function render() {
    return [
      'command' => 'loadNewPrivateMessages',
    ];
  }

}

Classes

Namesort descending Description
PrivateMessageLoadNewMessagesCommand Ajax Command to trigger a load of new private messages into a thread.