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

Breadcrumb

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

function MessageInterface::setSenderMail

Sets the email address of the sender.

Parameters

string $sender_mail: The email address of the message sender.

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

File

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

Class

MessageInterface
Provides an interface defining a contact message entity.

Namespace

Drupal\contact

Code

public function setSenderMail($sender_mail);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal