function MessageInterface::setCopySender

Same name in other branches
  1. 9 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::setCopySender()
  2. 10 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::setCopySender()
  3. 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\contact

Code

public function setCopySender($inform);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.