You are here

public function PrivateMessageThreadInterface::getMessages in Private Message 8

Same name and namespace in other branches
  1. 8.2 src/Entity/PrivateMessageThreadInterface.php \Drupal\private_message\Entity\PrivateMessageThreadInterface::getMessages()

Retrieve all private messages attached to this thread.

Return value

\Drupal\Core\Field\EntityReferenceFieldItemListInterface A list of private messages attached to this thread

1 method overrides PrivateMessageThreadInterface::getMessages()
PrivateMessageThread::getMessages in src/Entity/PrivateMessageThread.php
Retrieve all private messages attached to this thread.

File

src/Entity/PrivateMessageThreadInterface.php, line 80

Class

PrivateMessageThreadInterface
Provides an interface defining a Private Message thread entity.

Namespace

Drupal\private_message\Entity

Code

public function getMessages();