MessageInterface::getPersonalRecipient

public MessageInterface::getPersonalRecipient()

Returns the user this message is being sent to.

Return value

\Drupal\user\UserInterface The user entity of the recipient, NULL if this is not a personal message.

File

core/modules/contact/src/MessageInterface.php, line 114

Class

MessageInterface
Provides an interface defining a contact message entity.

Namespace

Drupal\contact

Code

public function getPersonalRecipient();
doc_Drupal
2016-10-29 09:28:16
Comments
Leave a Comment

Please login to continue.