You are here

function hook_message_message_ui_access_control in Message UI 7

Implements hook_message_message_ui_access_control().

Parameters

Message|String $message: The message. When creating the type will be passed.

$op: The operation: create, update, read or delete.

$account: The user account object.

Return value

bool True or false.

1 function implements hook_message_message_ui_access_control()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

message_ui_test_message_message_ui_access_control in message_ui_test/message_ui_test.module
Implements hook_message_message_ui_access_control().
1 invocation of hook_message_message_ui_access_control()
message_ui_access_control in ./message_ui.module
Message module access callback.

File

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

Code

function hook_message_message_ui_access_control($message, $op, $account) {
  return MESSAGE_UI_DENY;
}