public function ContactForm::getMessage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getMessage()
- 9 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::getMessage()
Returns the message to be displayed to user.
Return value
string A user message.
Overrides ContactFormInterface::getMessage
File
- core/
modules/ contact/ src/ Entity/ ContactForm.php, line 113
Class
- ContactForm
- Defines the contact form entity.
Namespace
Drupal\contact\EntityCode
public function getMessage() {
return $this->message;
}