function ContactForm::setMessage
Same name in other branches
- 8.9.x core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setMessage()
- 10 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setMessage()
- 11.x core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setMessage()
Overrides ContactFormInterface::setMessage
File
-
core/
modules/ contact/ src/ Entity/ ContactForm.php, line 120
Class
- ContactForm
- Defines the contact form entity.
Namespace
Drupal\contact\EntityCode
public function setMessage($message) {
$this->message = $message;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.