You are here

PrivateMessageInterface.php in Private Message 8.2

Same filename and directory in other branches
  1. 8 src/Entity/PrivateMessageInterface.php

File

src/Entity/PrivateMessageInterface.php
View source
<?php

namespace Drupal\private_message\Entity;

use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\user\EntityOwnerInterface;

/**
 * Provides an interface defining a Private Message entity.
 *
 * @ingroup private_message
 */
interface PrivateMessageInterface extends ContentEntityInterface, EntityOwnerInterface {

  /**
   * Get the time at which the private message was created.
   *
   * @return int
   *   A Unix timestamp indicating the time at which the private message was
   *   created.
   */
  public function getCreatedTime();

}

Interfaces

Namesort descending Description
PrivateMessageInterface Provides an interface defining a Private Message entity.