public Message::setSenderMail($sender_mail)
Sets the email address of the sender.
Parameters
string $sender_mail: The email address of the message sender.
Overrides MessageInterface::setSenderMail
File
- core/modules/contact/src/Entity/Message.php, line 74
Class
- Message
- Defines the contact message entity.
Namespace
Drupal\contact\Entity
Code
public function setSenderMail($sender_mail) { $this->set('mail', $sender_mail); }
Please login to continue.