You are here

public function ContactForm::setReply in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setReply()

Sets an auto-reply message to send to the message author.

Parameters

string $reply: The desired reply.

Return value

$this

Overrides ContactFormInterface::setReply

File

core/modules/contact/src/Entity/ContactForm.php, line 112
Contains \Drupal\contact\Entity\ContactForm.

Class

ContactForm
Defines the contact form entity.

Namespace

Drupal\contact\Entity

Code

public function setReply($reply) {
  $this->reply = $reply;
  return $this;
}