You are here

function message_access in Message 7

Access callback for the message entity.

1 string reference to 'message_access'
message_entity_info in ./message.module
Implements hook_entity_info().

File

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

Code

function message_access($op, $entity, $account = NULL, $entity_type = 'message') {
  return user_access('create messages', $account);
}