You are here

function message_save in Message 7

Same name and namespace in other branches
  1. 6 message.module \message_save()

Message save.

Parameters

$message_instance: A message instance object.

Return value

The saved message instance object.

File

./message.module, line 931
API functions to manipulate messages.

Code

function message_save($message) {
  return entity_save('message', $message);
}