You are here

public function MessageTemplate::setDescription in Message 8

Set the message template description.

Parameters

string $description: Description for the message template.

Return value

\Drupal\message\MessageTemplateInterface Returns the message template instance.

Overrides MessageTemplateInterface::setDescription

File

src/Entity/MessageTemplate.php, line 194

Class

MessageTemplate
Defines the Message template entity class.

Namespace

Drupal\message\Entity

Code

public function setDescription($description) {
  $this->description = $description;
  return $this;
}