public function MessageInterface::setCopySender in Drupal 10
Same name and namespace in other branches
- 8 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::setCopySender()
- 9 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);