function ContactFormInterface::getMessage
Same name in other branches
- 8.9.x core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::getMessage()
- 10 core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::getMessage()
- 11.x core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::getMessage()
Returns the message to be displayed to user.
Return value
string A user message.
1 method overrides ContactFormInterface::getMessage()
- ContactForm::getMessage in core/
modules/ contact/ src/ Entity/ ContactForm.php - Returns the message to be displayed to user.
File
-
core/
modules/ contact/ src/ ContactFormInterface.php, line 18
Class
- ContactFormInterface
- Provides an interface defining a contact form entity.
Namespace
Drupal\contactCode
public function getMessage();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.