public function Message::getType in Translation Management Tool 8
Returns the message type.
Return value
string Message type.
Overrides MessageInterface::getType
File
- src/
Entity/ Message.php, line 119
Class
- Message
- Entity class for the tmgmt_message entity.
Namespace
Drupal\tmgmt\EntityCode
public function getType() {
return $this
->get('type')->value;
}