function ContactFormInterface::setReply

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

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

Parameters

string $reply: The desired reply.

Return value

$this

1 method overrides ContactFormInterface::setReply()
ContactForm::setReply in core/modules/contact/src/Entity/ContactForm.php
Sets an auto-reply message to send to the message author.

File

core/modules/contact/src/ContactFormInterface.php, line 100

Class

ContactFormInterface
Provides an interface defining a contact form entity.

Namespace

Drupal\contact

Code

public function setReply($reply);

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