function message_action_load_message in Message 6
Action: Load a term.
File
- includes/
message.rules.inc, line 135 - Rules integration for the Message module.
Code
function message_action_load_message($settings) {
if ($message = message_load(!empty($settings['message']['message_text']) ? $settings['message']['message_text'] : $settings['message']['message_select'])) {
return array(
'message' => $message,
);
}
}