public function MessageTemplateInterface::setTemplate in Message 8
Set the message template.
Parameters
string $template: The message template.
Return value
\Drupal\message\MessageTemplateInterface Returns the message template instance.
1 method overrides MessageTemplateInterface::setTemplate()
- MessageTemplate::setTemplate in src/
Entity/ MessageTemplate.php - Set the message template.
File
- src/
MessageTemplateInterface.php, line 60
Class
- MessageTemplateInterface
- Provides an interface defining a Message template entity.
Namespace
Drupal\messageCode
public function setTemplate($template);