public ContactForm::setMessage($message)
Sets the message to be displayed to the user.
Parameters
string $message: The message to display after form is submitted.
Return value
$this
Overrides ContactFormInterface::setMessage
File
- core/modules/contact/src/Entity/ContactForm.php, line 109
Class
- ContactForm
- Defines the contact form entity.
Namespace
Drupal\contact\Entity
Code
1 2 3 4 | public function setMessage( $message ) { $this ->message = $message ; return $this ; } |
Please login to continue.