public function MessageTemplateInterface::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.
1 method overrides MessageTemplateInterface::setDescription()
- MessageTemplate::setDescription in src/
Entity/ MessageTemplate.php - Set the message template description.
File
- src/
MessageTemplateInterface.php, line 22
Class
- MessageTemplateInterface
- Provides an interface defining a Message template entity.
Namespace
Drupal\messageCode
public function setDescription($description);