You are here

public function MessageInterface::setSubject in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/contact/src/MessageInterface.php \Drupal\contact\MessageInterface::setSubject()

Sets the subject for the email.

Parameters

string $subject: The message subject.

1 method overrides MessageInterface::setSubject()
Message::setSubject in core/modules/contact/src/Entity/Message.php
Sets the subject for the email.

File

core/modules/contact/src/MessageInterface.php, line 71
Contains \Drupal\contact\MessageInterface.

Class

MessageInterface
Provides an interface defining a contact message entity.

Namespace

Drupal\contact

Code

public function setSubject($subject);