You are here

public function MessageInterface::setCopySender in Drupal 9

Same name and namespace in other branches
  1. 8 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\contact

Code

public function setCopySender($inform);