function ContactFormInterface::getReply

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

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

Return value

string An auto-reply message

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

File

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

Class

ContactFormInterface
Provides an interface defining a contact form entity.

Namespace

Drupal\contact

Code

public function getReply();

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