You are here

public function ContactForm::getMessage in Drupal 8

Same name and namespace in other branches
  1. 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 109

Class

ContactForm
Defines the contact form entity.

Namespace

Drupal\contact\Entity

Code

public function getMessage() {
  return $this->message;
}