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