You are here

public function MessageInterface::getSenderName in Drupal 10

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

Returns the name of the sender.

Return value

string The name of the message sender.

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

File

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

Class

MessageInterface
Provides an interface defining a contact message entity.

Namespace

Drupal\contact

Code

public function getSenderName();