Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MessageInterface.php

function MessageInterface::setMessage

Sets the email message to send.

Parameters

string $message: The message body.

1 method overrides MessageInterface::setMessage()
Message::setMessage in core/modules/contact/src/Entity/Message.php
Sets the email message to send.

File

core/modules/contact/src/MessageInterface.php, line 82

Class

MessageInterface
Provides an interface defining a contact message entity.

Namespace

Drupal\contact

Code

public function setMessage($message);
RSS feed
Powered by Drupal