You are here

function message_ui_arguments_update in Message UI 7

The message batch or queue item callback function.

Parameters

$mids: The messages ID for process.

$arguments: The new state arguments.

1 string reference to 'message_ui_arguments_update'
message_ui_entity_update in ./message_ui.module
Implements hook_entity_update().

File

./message_ui.module, line 548
Main file for the message UI module.

Code

function message_ui_arguments_update($mids, $arguments) {

  // Load the messages and update them.
  $messages = message_load_multiple($mids);
  foreach ($messages as $message) {
    _message_ui_arguments_update($message, $arguments);
  }
}