You are here

public function Message::getType in Message 7

Gets the associated message type.

Return value

MessageType

2 calls to Message::getType()
Message::getText in includes/message.message.inc
Replace arguments with their placeholders.
Message::save in includes/message.message.inc
Implements Entity::save().

File

includes/message.message.inc, line 83
A class used for messages.

Class

Message
@file A class used for messages.

Code

public function getType() {
  return message_type_load($this->type);
}