You are here

public function PrivateMessageThreadInterface::isMember in Private Message 8

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

Check if the user with the given ID is a member of the thread.

Parameters

int $id: The User ID of the user to check.

Return value

bool

  • TRUE if the user is a member of the thread
  • FALSE if they are not
1 method overrides PrivateMessageThreadInterface::isMember()
PrivateMessageThread::isMember in src/Entity/PrivateMessageThread.php
Check if the user with the given ID is a member of the thread.

File

src/Entity/PrivateMessageThreadInterface.php, line 53

Class

PrivateMessageThreadInterface
Provides an interface defining a Private Message thread entity.

Namespace

Drupal\private_message\Entity

Code

public function isMember($id);