Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Message.php

function Message::getSenderMail

Overrides MessageInterface::getSenderMail

File

core/modules/contact/src/Entity/Message.php, line 78

Class

Message
Defines the contact message entity.

Namespace

Drupal\contact\Entity

Code

public function getSenderMail() {
    return $this->get('mail')->value;
}
RSS feed
Powered by Drupal