function MessageInterface::setCopySender
Same name in other branches
- 8.9.x core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::setCopySender()
- 10 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::setCopySender()
- 11.x core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::setCopySender()
Sets if the sender should receive a copy of this email or not.
Parameters
bool $inform: TRUE if a copy should be sent, FALSE if not.
1 method overrides MessageInterface::setCopySender()
- Message::setCopySender in core/
modules/ contact/ src/ Entity/ Message.php - Sets if the sender should receive a copy of this email or not.
File
-
core/
modules/ contact/ src/ MessageInterface.php, line 98
Class
- MessageInterface
- Provides an interface defining a contact message entity.
Namespace
Drupal\contactCode
public function setCopySender($inform);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.