You are here

public function MessageInterface::getSenderMail in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::getSenderMail()
  2. 10 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::getSenderMail()

Returns the email address of the sender.

Return value

string The email address of the message sender.

1 method overrides MessageInterface::getSenderMail()
Message::getSenderMail in core/modules/contact/src/Entity/Message.php
Returns the email address of the sender.

File

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

Class

MessageInterface
Provides an interface defining a contact message entity.

Namespace

Drupal\contact

Code

public function getSenderMail();