function ContactForm::setReply

Same name in other branches
  1. 9 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setReply()
  2. 8.9.x core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setReply()
  3. 10 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setReply()

Overrides ContactFormInterface::setReply

File

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

Class

ContactForm
Defines the contact form entity.

Namespace

Drupal\contact\Entity

Code

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

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