You are here

public function ContactForm::getReply in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getReply()
  2. 10 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getReply()

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

Return value

string An auto-reply message

Overrides ContactFormInterface::getReply

File

core/modules/contact/src/Entity/ContactForm.php, line 167

Class

ContactForm
Defines the contact form entity.

Namespace

Drupal\contact\Entity

Code

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