You are here

function message_type_category_save in Message 7

Inserts or updates a message type category object into the database.

Parameters

$message: The message type category object to be inserted.

Return value

Failure to write a record will return FALSE. Otherwise SAVED_NEW or SAVED_UPDATED is returned depending on the operation performed.

File

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

Code

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