You are here

public function MessageInterface::getTemplate in Message 8

Get the message template.

Return value

\Drupal\message\MessageTemplateInterface Returns the message object.

1 method overrides MessageInterface::getTemplate()
Message::getTemplate in src/Entity/Message.php
Get the message template.

File

src/MessageInterface.php, line 31

Class

MessageInterface
Provides an interface defining a Message entity.

Namespace

Drupal\message

Code

public function getTemplate();