You are here

function hook_message_ui_view_alter in Message UI 7

Implements hook_message_ui_view_alter().

Parameters

$build: A render-able array which returned by the page callback function.

$message: The message object.

1 invocation of hook_message_ui_view_alter()
message_ui_show_message in ./message_ui.module
Display the message.

File

./message_ui.api.php, line 16
Defining the API part of the message UI module.

Code

function hook_message_ui_view_alter(&$build, $message) {

  // Check the output of the message as you wish.
}